#CC799F#CC799F
#CC799F is a light, moderate pink. Relative luminance 0.290; OKLCH L 67.7% C 0.113 H 351.6°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CC799F |
|---|---|
| RGB | rgb(204, 121, 159) |
| HSL | hsl(333, 45%, 64%) |
| HSV | hsv(333, 41%, 80%) |
| CMYK | cmyk(0%, 40.7%, 22.1%, 20%) |
| CIE-LAB | lab(60.80, 37.31, -6.39) |
| CIE-LCH | lch(60.80, 37.86, 350.28°) |
| OKLab | oklab(67.67% 0.1118 -0.0165) |
| OKLCH | oklch(67.67% 0.113 351.6) |
| XYZ | xyz(37.9980, 29.0179, 36.3938) |
| Luminance | 0.2902 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Palevioletred
#DB7093
ΔE00 4.78
Muted Pink
#D1768F
ΔE00 4.85
Dull Pink
#D5869D
ΔE00 5.31
Dusky Pink
#CC7A8B
ΔE00 6.44
Pale Magenta
#D767AD
ΔE00 6.53
Old Pink
#C77986
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC799F #79CCA6
analogous
#CC79C8 #CC799F #CC7C79
triadic
#CC799F #9FCC79 #799FCC
tetradic
#CC799F #C8CC79 #79CCA6 #7C79CC
square
#CC799F #C8CC79 #79CCA6 #7C79CC
split-complementary
#CC799F #79CC7C #79C8CC
monochromatic
#933861 #BB4D7F #CC799F #DDA5BF #EED2DF
Accessibility & contrast
On white
3.09
#CC799F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.80
#CC799F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC799F
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC799F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC799F | 1.00 | 3.09 | 6.80 | 6.80 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#828AA0
Deuteranopia (green-blind)
#97989D
Tritanopia (blue-blind)
#D77687
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #cc799f; /* rgb */ color: rgb(204, 121, 159); /* oklch */ color: oklch(67.7% 0.113 351.6);
Tailwind
colors: {
custom: {
50: '#dda1bb',
500: '#cc799f',
950: '#000000',
},
}SCSS
$custom: #cc799f; $custom-light: #dda1bb; $custom-dark: #000000;
JSON
{
"hex": "#cc799f",
"rgb": {
"r": 204,
"g": 121,
"b": 159
},
"hsl": {
"h": 332.53,
"s": 44.865,
"l": 63.725
},
"oklch": {
"l": 0.6767,
"c": 0.113,
"h": 351.6
},
"luminance": 0.29015
}Semantic roles & 50–950 ramp
primary
#CC799F
secondary
#C2DFD2
accent
#B8792D
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80