#CF789E#CF789E
#CF789E is a light, moderate pink. Relative luminance 0.292; OKLCH L 67.8% C 0.117 H 353.0°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CF789E |
|---|---|
| RGB | rgb(207, 120, 158) |
| HSL | hsl(334, 48%, 64%) |
| HSV | hsv(334, 42%, 81%) |
| CMYK | cmyk(0%, 42%, 23.7%, 18.8%) |
| CIE-LAB | lab(60.93, 38.74, -5.58) |
| CIE-LCH | lch(60.93, 39.14, 351.81°) |
| OKLab | oklab(67.84% 0.1164 -0.0143) |
| OKLCH | oklch(67.84% 0.117 353) |
| XYZ | xyz(38.6211, 29.1698, 35.9373) |
| Luminance | 0.2917 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Palevioletred
#DB7093
ΔE00 4.07
Muted Pink
#D1768F
ΔE00 4.35
Dull Pink
#D5869D
ΔE00 5.08
Dusky Pink
#CC7A8B
ΔE00 6.11
Pale Magenta
#D767AD
ΔE00 6.54
Old Pink
#C77986
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF789E #78CFA9
analogous
#CF78CA #CF789E #CF7E78
triadic
#CF789E #9ECF78 #789ECF
tetradic
#CF789E #CACF78 #78CFA9 #7E78CF
square
#CF789E #CACF78 #78CFA9 #7E78CF
split-complementary
#CF789E #78CF7E #78CACF
monochromatic
#973660 #BF4B7E #CF789E #DFA5BE #EFD2DF
Accessibility & contrast
On white
3.07
#CF789E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.83
#CF789E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF789E
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF789E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF789E | 1.00 | 3.07 | 6.83 | 6.83 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#828A9F
Deuteranopia (green-blind)
#98999C
Tritanopia (blue-blind)
#DB7586
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #cf789e; /* rgb */ color: rgb(207, 120, 158); /* oklch */ color: oklch(67.8% 0.117 353.0);
Tailwind
colors: {
custom: {
50: '#dfa1ba',
500: '#cf789e',
950: '#000000',
},
}SCSS
$custom: #cf789e; $custom-light: #dfa1ba; $custom-dark: #000000;
JSON
{
"hex": "#cf789e",
"rgb": {
"r": 207,
"g": 120,
"b": 158
},
"hsl": {
"h": 333.793,
"s": 47.541,
"l": 64.118
},
"oklch": {
"l": 0.67841,
"c": 0.11726,
"h": 353
},
"luminance": 0.29167
}Semantic roles & 50–950 ramp
primary
#CF789E
secondary
#C2E1D3
accent
#BB7C2B
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80