#CF799E#CF799E
#CF799E is a light, moderate pink. Relative luminance 0.294; OKLCH L 68.0% C 0.116 H 353.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CF799E |
|---|---|
| RGB | rgb(207, 121, 158) |
| HSL | hsl(334, 47%, 64%) |
| HSV | hsv(334, 42%, 81%) |
| CMYK | cmyk(0%, 41.5%, 23.7%, 18.8%) |
| CIE-LAB | lab(61.14, 38.21, -5.26) |
| CIE-LCH | lch(61.14, 38.57, 352.16°) |
| OKLab | oklab(68% 0.1148 -0.0134) |
| OKLCH | oklch(68% 0.116 353.3) |
| XYZ | xyz(38.7420, 29.4115, 35.9776) |
| Luminance | 0.2941 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Palevioletred
#DB7093
ΔE00 4.08
Muted Pink
#D1768F
ΔE00 4.23
Dull Pink
#D5869D
ΔE00 4.79
Dusky Pink
#CC7A8B
ΔE00 5.93
Pale Magenta
#D767AD
ΔE00 6.81
Old Pink
#C77986
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF799E #79CFAA
analogous
#CF79C9 #CF799E #CF7F79
triadic
#CF799E #9ECF79 #799ECF
tetradic
#CF799E #C9CF79 #79CFAA #7F79CF
square
#CF799E #C9CF79 #79CFAA #7F79CF
split-complementary
#CF799E #79CF7F #79C9CF
monochromatic
#973660 #BF4C7D #CF799E #DFA6BF #EFD3DF
Accessibility & contrast
On white
3.05
#CF799E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#CF799E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF799E
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF799E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF799E | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#838A9F
Deuteranopia (green-blind)
#98999C
Tritanopia (blue-blind)
#DB7586
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #cf799e; /* rgb */ color: rgb(207, 121, 158); /* oklch */ color: oklch(68.0% 0.116 353.3);
Tailwind
colors: {
custom: {
50: '#dfa1ba',
500: '#cf799e',
950: '#000000',
},
}SCSS
$custom: #cf799e; $custom-light: #dfa1ba; $custom-dark: #000000;
JSON
{
"hex": "#cf799e",
"rgb": {
"r": 207,
"g": 121,
"b": 158
},
"hsl": {
"h": 334.186,
"s": 47.253,
"l": 64.314
},
"oklch": {
"l": 0.68002,
"c": 0.11559,
"h": 353.3
},
"luminance": 0.29409
}Semantic roles & 50–950 ramp
primary
#CF799E
secondary
#C3E1D4
accent
#BB7D2B
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80