#CF787B#CF787B
#CF787B is a light, moderate red. Relative luminance 0.281; OKLCH L 66.8% C 0.109 H 18.2°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #CF787B |
|---|---|
| RGB | rgb(207, 120, 123) |
| HSL | hsl(358, 48%, 64%) |
| HSV | hsv(358, 42%, 81%) |
| CMYK | cmyk(0%, 42%, 40.6%, 18.8%) |
| CIE-LAB | lab(60.01, 34.23, 13.21) |
| CIE-LCH | lch(60.01, 36.69, 21.11°) |
| OKLab | oklab(66.83% 0.1035 0.034) |
| OKLCH | oklch(66.83% 0.109 18.2) |
| XYZ | xyz(36.0256, 28.1316, 22.2676) |
| Luminance | 0.2813 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 1.79
Dusty Rose
#C0737A
ΔE00 3.69
Brownish Pink
#C27E79
ΔE00 4.12
Ugly Pink
#CD7584
ΔE00 4.16
Old Rose
#C87F89
ΔE00 4.29
Old Pink
#C77986
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF787B #78CFCC
analogous
#CF78A7 #CF787B #CFA178
triadic
#CF787B #7BCF78 #787BCF
tetradic
#CF787B #A7CF78 #78CFCC #A178CF
square
#CF787B #A7CF78 #78CFCC #A178CF
split-complementary
#CF787B #78CFA1 #78A7CF
monochromatic
#973639 #BF4B4F #CF787B #DFA5A7 #EFD2D3
Accessibility & contrast
On white
3.17
#CF787B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.63
#CF787B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF787B
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF787B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF787B | 1.00 | 3.17 | 6.63 | 6.63 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89867B
Deuteranopia (green-blind)
#9F9779
Tritanopia (blue-blind)
#DE6E7A
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #cf787b; /* rgb */ color: rgb(207, 120, 123); /* oklch */ color: oklch(66.8% 0.109 18.2);
Tailwind
colors: {
custom: {
50: '#e0a0a1',
500: '#cf787b',
950: '#000000',
},
}SCSS
$custom: #cf787b; $custom-light: #e0a0a1; $custom-dark: #000000;
JSON
{
"hex": "#cf787b",
"rgb": {
"r": 207,
"g": 120,
"b": 123
},
"hsl": {
"h": 357.931,
"s": 47.541,
"l": 64.118
},
"oklch": {
"l": 0.66835,
"c": 0.10891,
"h": 18.2
},
"luminance": 0.28128
}Semantic roles & 50–950 ramp
primary
#CF787B
secondary
#C2E1E0
accent
#BBB62B
background
#FEF9F9
surface
#FCF2F2
border
#D5CCCC
text
#160F0E
muted
#847E7E