#CD98B2#CD98B2
#CD98B2 is a light, moderate pink. Relative luminance 0.387; OKLCH L 73.8% C 0.072 H 348.1°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CD98B2 |
|---|---|
| RGB | rgb(205, 152, 178) |
| HSL | hsl(331, 35%, 70%) |
| HSV | hsv(331, 26%, 80%) |
| CMYK | cmyk(0%, 25.9%, 13.2%, 19.6%) |
| CIE-LAB | lab(68.50, 23.86, -5.71) |
| CIE-LCH | lch(68.50, 24.53, 346.54°) |
| OKLab | oklab(73.77% 0.0703 -0.0149) |
| OKLCH | oklch(73.77% 0.072 348.1) |
| XYZ | xyz(44.4409, 38.6518, 47.2305) |
| Luminance | 0.3865 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Mauve
#C292A1
ΔE00 4.28
Faded Pink
#DE9DAC
ΔE00 5.46
Grey Pink
#C3909B
ΔE00 5.76
Lilac
#C8A2C8
ΔE00 6.15
Dusty Pink
#D8A7B1
ΔE00 6.40
Dull Pink
#D5869D
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD98B2 #98CDB3
analogous
#CD98CD #CD98B2 #CD9898
triadic
#CD98B2 #B2CD98 #98B2CD
tetradic
#CD98B2 #CDCD98 #98CDB3 #9898CD
square
#CD98B2 #CDCD98 #98CDB3 #9898CD
split-complementary
#CD98B2 #98CD98 #98CDCD
monochromatic
#9E4D75 #B96F93 #CD98B2 #E1C1D1 #F5EAF0
Accessibility & contrast
On white
2.41
#CD98B2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.73
#CD98B2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD98B2
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD98B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD98B2 | 1.00 | 2.41 | 8.73 | 8.73 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9CA2B3
Deuteranopia (green-blind)
#A8AAB1
Tritanopia (blue-blind)
#D597A1
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #cd98b2; /* rgb */ color: rgb(205, 152, 178); /* oklch */ color: oklch(73.8% 0.072 348.1);
Tailwind
colors: {
custom: {
50: '#ddb6c9',
500: '#cd98b2',
950: '#000000',
},
}SCSS
$custom: #cd98b2; $custom-light: #ddb6c9; $custom-dark: #000000;
JSON
{
"hex": "#cd98b2",
"rgb": {
"r": 205,
"g": 152,
"b": 178
},
"hsl": {
"h": 330.566,
"s": 34.641,
"l": 70
},
"oklch": {
"l": 0.73765,
"c": 0.07183,
"h": 348.1
},
"luminance": 0.3865
}Semantic roles & 50–950 ramp
primary
#CD98B2
secondary
#D9E8E1
accent
#AD7438
background
#FDFBFC
surface
#FBF6F8
border
#D4D0D1
text
#151113
muted
#838082