#CF8EA5#CF8EA5
#CF8EA5 is a light, moderate pink. Relative luminance 0.353; OKLCH L 71.8% C 0.084 H 356.5°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #CF8EA5 |
|---|---|
| RGB | rgb(207, 142, 165) |
| HSL | hsl(339, 40%, 68%) |
| HSV | hsv(339, 31%, 81%) |
| CMYK | cmyk(0%, 31.4%, 20.3%, 18.8%) |
| CIE-LAB | lab(66.00, 27.96, -2.07) |
| CIE-LCH | lch(66.00, 28.04, 355.76°) |
| OKLab | oklab(71.78% 0.0838 -0.0051) |
| OKLCH | oklch(71.78% 0.084 356.5) |
| XYZ | xyz(42.1972, 35.3303, 40.1868) |
| Luminance | 0.3533 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dull Pink
#D5869D
ΔE00 3.02
Light Mauve
#C292A1
ΔE00 3.97
Grey Pink
#C3909B
ΔE00 4.45
Faded Pink
#DE9DAC
ΔE00 4.93
Pig Pink
#E78EA5
ΔE00 4.96
Greyish Pink
#C88D94
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF8EA5 #8ECFB8
analogous
#CF8EC5 #CF8EA5 #CF978E
triadic
#CF8EA5 #A5CF8E #8EA5CF
tetradic
#CF8EA5 #C5CF8E #8ECFB8 #978ECF
square
#CF8EA5 #C5CF8E #8ECFB8 #978ECF
split-complementary
#CF8EA5 #8ECF97 #8EC5CF
monochromatic
#9F4464 #BD6383 #CF8EA5 #E1B9C7 #F3E4E9
Accessibility & contrast
On white
2.60
#CF8EA5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#CF8EA5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF8EA5
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF8EA5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF8EA5 | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#959AA6
Deuteranopia (green-blind)
#A5A5A4
Tritanopia (blue-blind)
#D98B96
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cf8ea5; /* rgb */ color: rgb(207, 142, 165); /* oklch */ color: oklch(71.8% 0.084 356.5);
Tailwind
colors: {
custom: {
50: '#dfafbf',
500: '#cf8ea5',
950: '#000000',
},
}SCSS
$custom: #cf8ea5; $custom-light: #dfafbf; $custom-dark: #000000;
JSON
{
"hex": "#cf8ea5",
"rgb": {
"r": 207,
"g": 142,
"b": 165
},
"hsl": {
"h": 338.769,
"s": 40.373,
"l": 68.431
},
"oklch": {
"l": 0.71776,
"c": 0.08393,
"h": 356.5
},
"luminance": 0.35328
}Semantic roles & 50–950 ramp
primary
#CF8EA5
secondary
#D3E6DF
accent
#B38632
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81