Pastel Lavender Color Hex Code

#d8a1c4

What is Pastel Lavender Color Hex Code Color?

Pastel Lavender Color Hex Code is a light, moderately saturated pink color with the hex code #d8a1c4. Its RGB value is rgb(216, 161, 196), meaning it contains 216 red, 161 green, and 196 blue light values. In the HSL color model, it has a hue of 322°, saturation of 41%, and lightness of 74%.

Pastel Lavender Color Hex Code Color Codes

Here are all the color format codes for Pastel Lavender Color Hex Code:

  • HEX: #d8a1c4
  • RGB: rgb(216, 161, 196)
  • HSL: hsl(322°, 41%, 74%)
  • CMYK: cmyk(0%, 25%, 9%, 15%)
  • Android/Flutter: Color(0xFFD8A1C4)
  • Swift UIColor: UIColor(red: 0.847, green: 0.631, blue: 0.769, alpha: 1.0)

Is Pastel Lavender Color Hex Code Accessible?

Pastel Lavender Color Hex Code (#d8a1c4) passes WCAG AA accessibility standards. It has a contrast ratio of 2.14:1 against white and 9.81:1 against black text. For better readability, prefer black text on this color for normal body text. It also meets WCAG AAA — the highest accessibility level.

How to Use Pastel Lavender Color Hex Code in Design

Pastel Lavender Color Hex Code is a light pink tone that works well as a background, accent, or highlight color in modern UI designs. It pairs beautifully with its complementary color #a2d8b5 for strong contrast. In CSS, you can use it directly as color: #d8a1c4; or background-color: #d8a1c4;.

Pastel Lavender Color Hex Code Shades and Tints

Shades of Pastel Lavender Color Hex Code are created by mixing it with black, ranging from the original #d8a1c4 down to near-black #c08fae. Tints are made by adding white — from the base color up to near-white #fbf5f8. These variations help build complete design system palettes and Tailwind CSS color scales.

Pastel Lavender Color Hex Code Color Harmonies

The complementary color of Pastel Lavender Color Hex Code is #a2d8b5. Its analogous colors are #d8a2a9 and #d1a2d8. For a triadic palette, combine it with #c4d8a2 and #a2c4d8.

Frequently Asked Questions

What is the hex code for Pastel Lavender Color Hex Code?

The hex code for Pastel Lavender Color Hex Code is #d8a1c4.

What is the RGB value of Pastel Lavender Color Hex Code?

The RGB value is rgb(216, 161, 196). Red channel: 216/255, Green: 161/255, Blue: 196/255.

Is Pastel Lavender Color Hex Code good for web accessibility?

Pastel Lavender Color Hex Code has a contrast ratio of 2.14:1 with white and 9.81:1 with black. It passes WCAG AA standards for normal text.

What colors go well with Pastel Lavender Color Hex Code?

Pastel Lavender Color Hex Code pairs well with its complementary color #a2d8b5, analogous colors #d8a2a9 and #d1a2d8, or neutral whites and grays for a clean, modern look.

How do I use Pastel Lavender Color Hex Code in CSS?

Use it in CSS like this:
background-color: #d8a1c4;
color: #d8a1c4;
Or as a CSS variable: --color-primary: #d8a1c4;

HEX
#d8a1c4
RGB
rgb(216, 161, 196)
HSL
hsl(322°, 41%, 74%)
CMYK
cmyk(0%, 25%, 9%, 15%)
RGBA
rgba(216, 161, 196, 1)
HSLA
hsla(322, 41%, 74%, 1)
Android / Flutter
Color(0xFFD8A1C4)
Swift / UIColor
UIColor(r:0.85 g:0.63 b:0.77)
Hex 0x
0xD8A1C4
White text
2.14:1
FailFail Large
Black text
9.81:1
AAAAA Large

WCAG AA requires ≥4.5:1 for normal text, ≥3:1 for large text. AAA requires ≥7:1.

Contrast with white2.14:1
Contrast with black9.81:1
Sample text 21:1
+
=
50%
CSS Variables
/* Pastel Lavender Color Hex Code */
--color-primary: #d8a1c4;
--color-primary-rgb: 216, 161, 196;
--color-primary-hsl: 322 41% 74%;
--color-primary-text: #1a1a2e;
Tailwind Config
// tailwind.config.js
colors: {
  'pastel-lavender-color-hex-code': {
    DEFAULT: '#d8a1c4',
    100: '#ffffff',
    200: '#fbf5f8',
    300: '#f6eaf2',
    400: '#f2e0eb',
    500: '#eed5e5',
    600: '#c08fae',
    700: '#a87d98',
    800: '#906b83',
    900: '#78596d',
    950: '#604857',
  }
}
SCSS Map
$pastel-lavender-color-hex-code: (
  'base': #d8a1c4,
  'light': #f6eaf2,
  'dark': #a87d98,
  'rgb': 216, 161, 196
);
Badge Outline Badge
AB
Pastel Lavender Color Hex Code
#d8a1c4

A beautiful color used in modern design systems. Click to copy the hex code and use it in your projects.

Heading H1

Heading H2

Regular body text with a colored link inside. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Caption text or muted secondary copy. Used for descriptions and supplemental information.


Highlighted blockquote text using this color as an accent.

How this color appears to people with different types of color vision deficiency.

Normal — #d8a1c4
Deuteranopia — #c3c8c4
Protanopia — #c0c0c4
Tritanopia — #d8a3b5
Achromatopsia — #b5b5b5

Pastel Lavender Color Hex Code Color Palettes

#bd5697
#bf63aa
#cb6cab
#da9abd
#e0bdd0
#d364a9
#df9fcd
#e7b6d3
#f3cee3
#f7deec
#be93ad
#c794ba
#d7b2c4
#eee2ea
#eee2eb
#dca3b1
#deb5bd
#f3e3e6
#fdfbfc
#ffffff
#cb8dd3
#e0bbe2
#f6eef7
#fdfcfd
#ffffff
#ed73c8
#f8bfe1
#f9cdeb
#fefbfd
#ffffff
#bfb5ba
#c9c5c7
#f3f1f2
#ffffff
#ffffff
#da6799
#e080a6
#e382a4
#f1cbde
#f8e8ee
#d067cd
#db66cd
#e8b0da
#e8b5e6
#f7e4f3

Pastel Lavender Color Hex Code Shades

#d8a1c4
#c08fae
#a87d98
#906b83
#78596d
#604857
#483641
#30242c
#181216
#000000

Pastel Lavender Color Hex Code Tints

#d8a2c4
#dcaccb
#e1b6d1
#e5c1d8
#e9cbde
#eed5e5
#f2e0eb
#f6eaf2
#fbf5f8
#ffffff

Pastel Lavender Color Hex Code Tones

#d8a2c4
#d5a5c3
#d2a8c2
#cfabc2
#ccaec1
#c9b1c0
#c6b4bf
#c3b7be
#c0babe
#bdbdbd

Pastel Lavender Color Hex Code Gradients

Light fade linear-gradient(135deg, #d8a1c4, #fbf5f8)...
Dark fade linear-gradient(135deg, #d8a1c4, #c08fae)...
Complementary linear-gradient(135deg, #d8a1c4, #a2d8b5)...
Triadic linear-gradient(135deg, #d8a1c4, #c4d8a2, #a2c4d8) ...
Saturation burst linear-gradient(135deg, #caafc0, #ff7ace) ...

Pastel Lavender Color Hex Code Related Colors

Copied!