#CF799D#CF799D
#CF799D is a light, moderate pink. Relative luminance 0.294; OKLCH L 68.0% C 0.115 H 354.0°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CF799D |
|---|---|
| RGB | rgb(207, 121, 157) |
| HSL | hsl(335, 47%, 64%) |
| HSV | hsv(335, 42%, 81%) |
| CMYK | cmyk(0%, 41.5%, 24.2%, 18.8%) |
| CIE-LAB | lab(61.11, 38.07, -4.73) |
| CIE-LCH | lch(61.11, 38.36, 352.91°) |
| OKLab | oklab(67.97% 0.1145 -0.012) |
| OKLCH | oklch(67.97% 0.115 354) |
| XYZ | xyz(38.6563, 29.3773, 35.5261) |
| Luminance | 0.2937 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Palevioletred
#DB7093
ΔE00 3.90
Muted Pink
#D1768F
ΔE00 3.95
Dull Pink
#D5869D
ΔE00 4.60
Dusky Pink
#CC7A8B
ΔE00 5.64
Old Pink
#C77986
ΔE00 6.92
Ugly Pink
#CD7584
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF799D #79CFAB
analogous
#CF79C8 #CF799D #CF8079
triadic
#CF799D #9DCF79 #799DCF
tetradic
#CF799D #C8CF79 #79CFAB #8079CF
square
#CF799D #C8CF79 #79CFAB #8079CF
split-complementary
#CF799D #79CF80 #79C8CF
monochromatic
#97365F #BF4C7C #CF799D #DFA6BE #EFD3DF
Accessibility & contrast
On white
3.05
#CF799D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.87
#CF799D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF799D
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF799D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF799D | 1.00 | 3.05 | 6.87 | 6.87 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#838A9E
Deuteranopia (green-blind)
#99999B
Tritanopia (blue-blind)
#DB7586
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #cf799d; /* rgb */ color: rgb(207, 121, 157); /* oklch */ color: oklch(68.0% 0.115 354.0);
Tailwind
colors: {
custom: {
50: '#dfa1b9',
500: '#cf799d',
950: '#000000',
},
}SCSS
$custom: #cf799d; $custom-light: #dfa1b9; $custom-dark: #000000;
JSON
{
"hex": "#cf799d",
"rgb": {
"r": 207,
"g": 121,
"b": 157
},
"hsl": {
"h": 334.884,
"s": 47.253,
"l": 64.314
},
"oklch": {
"l": 0.67969,
"c": 0.1151,
"h": 354
},
"luminance": 0.29374
}Semantic roles & 50–950 ramp
primary
#CF799D
secondary
#C3E1D4
accent
#BB7E2B
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80