#CF7987#CF7987
#CF7987 is a light, moderate red. Relative luminance 0.287; OKLCH L 67.3% C 0.108 H 9.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7987 |
|---|---|
| RGB | rgb(207, 121, 135) |
| HSL | hsl(350, 47%, 64%) |
| HSV | hsv(350, 42%, 81%) |
| CMYK | cmyk(0%, 41.5%, 34.8%, 18.8%) |
| CIE-LAB | lab(60.51, 35.12, 7.03) |
| CIE-LCH | lch(60.51, 35.81, 11.32°) |
| OKLab | oklab(67.31% 0.1065 0.0186) |
| OKLCH | oklch(67.31% 0.108 9.9) |
| XYZ | xyz(36.9442, 28.6924, 26.5094) |
| Luminance | 0.2869 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ugly Pink
#CD7584
ΔE00 1.12
Dusky Pink
#CC7A8B
ΔE00 1.49
Old Pink
#C77986
ΔE00 1.60
Old Rose
#C87F89
ΔE00 2.34
Dirty Pink
#CA7B80
ΔE00 2.99
Muted Pink
#D1768F
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7987 #79CFC1
analogous
#CF79B2 #CF7987 #CF9679
triadic
#CF7987 #87CF79 #7987CF
tetradic
#CF7987 #B2CF79 #79CFC1 #9679CF
square
#CF7987 #B2CF79 #79CFC1 #9679CF
split-complementary
#CF7987 #79CF96 #79B2CF
monochromatic
#973646 #BF4C5F #CF7987 #DFA6AF #EFD3D8
Accessibility & contrast
On white
3.12
#CF7987 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.74
#CF7987 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF7987
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7987 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7987 | 1.00 | 3.12 | 6.74 | 6.74 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#888887
Deuteranopia (green-blind)
#9D9885
Tritanopia (blue-blind)
#DD717E
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #cf7987; /* rgb */ color: rgb(207, 121, 135); /* oklch */ color: oklch(67.3% 0.108 9.9);
Tailwind
colors: {
custom: {
50: '#e0a1a9',
500: '#cf7987',
950: '#000000',
},
}SCSS
$custom: #cf7987; $custom-light: #e0a1a9; $custom-dark: #000000;
JSON
{
"hex": "#cf7987",
"rgb": {
"r": 207,
"g": 121,
"b": 135
},
"hsl": {
"h": 350.233,
"s": 47.253,
"l": 64.314
},
"oklch": {
"l": 0.67311,
"c": 0.10811,
"h": 9.9
},
"luminance": 0.28689
}Semantic roles & 50–950 ramp
primary
#CF7987
secondary
#C3E1DC
accent
#BBA32B
background
#FEFAFA
surface
#FCF3F4
border
#D5CDCE
text
#160F10
muted
#847F7F