#CF787F#CF787F
#CF787F is a light, moderate red. Relative luminance 0.282; OKLCH L 66.9% C 0.109 H 15.3°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #CF787F |
|---|---|
| RGB | rgb(207, 120, 127) |
| HSL | hsl(355, 48%, 64%) |
| HSV | hsv(355, 42%, 81%) |
| CMYK | cmyk(0%, 42%, 38.6%, 18.8%) |
| CIE-LAB | lab(60.10, 34.69, 11.04) |
| CIE-LCH | lch(60.10, 36.40, 17.66°) |
| OKLab | oklab(66.94% 0.105 0.0287) |
| OKLCH | oklch(66.94% 0.109 15.3) |
| XYZ | xyz(36.2811, 28.2338, 23.6134) |
| Luminance | 0.2823 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 1.37
Ugly Pink
#CD7584
ΔE00 2.77
Old Pink
#C77986
ΔE00 3.15
Dusty Rose
#C0737A
ΔE00 3.26
Old Rose
#C87F89
ΔE00 3.27
Dusky Pink
#CC7A8B
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF787F #78CFC8
analogous
#CF78AB #CF787F #CF9D78
triadic
#CF787F #7FCF78 #787FCF
tetradic
#CF787F #ABCF78 #78CFC8 #9D78CF
square
#CF787F #ABCF78 #78CFC8 #9D78CF
split-complementary
#CF787F #78CF9D #78ABCF
monochromatic
#97363D #BF4B54 #CF787F #DFA5AA #EFD2D5
Accessibility & contrast
On white
3.16
#CF787F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#CF787F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF787F
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF787F | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89867F
Deuteranopia (green-blind)
#9E977D
Tritanopia (blue-blind)
#DE6E7B
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #cf787f; /* rgb */ color: rgb(207, 120, 127); /* oklch */ color: oklch(66.9% 0.109 15.3);
Tailwind
colors: {
custom: {
50: '#e0a0a4',
500: '#cf787f',
950: '#000000',
},
}SCSS
$custom: #cf787f; $custom-light: #e0a0a4; $custom-dark: #000000;
JSON
{
"hex": "#cf787f",
"rgb": {
"r": 207,
"g": 120,
"b": 127
},
"hsl": {
"h": 355.172,
"s": 47.541,
"l": 64.118
},
"oklch": {
"l": 0.66935,
"c": 0.10888,
"h": 15.3
},
"luminance": 0.28231
}Semantic roles & 50–950 ramp
primary
#CF787F
secondary
#C2E1DE
accent
#BBAF2B
background
#FEF9FA
surface
#FCF2F4
border
#D5CCCE
text
#160F0F
muted
#847E7F