#CC799B#CC799B
#CC799B is a light, moderate pink. Relative luminance 0.289; OKLCH L 67.5% C 0.111 H 354.4°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CC799B |
|---|---|
| RGB | rgb(204, 121, 155) |
| HSL | hsl(335, 45%, 64%) |
| HSV | hsv(335, 41%, 80%) |
| CMYK | cmyk(0%, 40.7%, 24%, 20%) |
| CIE-LAB | lab(60.68, 36.73, -4.27) |
| CIE-LCH | lch(60.68, 36.97, 353.36°) |
| OKLab | oklab(67.54% 0.1104 -0.0108) |
| OKLCH | oklch(67.54% 0.111 354.4) |
| XYZ | xyz(37.6565, 28.8813, 34.5953) |
| Luminance | 0.2888 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Muted Pink
#D1768F
ΔE00 3.74
Palevioletred
#DB7093
ΔE00 4.08
Dull Pink
#D5869D
ΔE00 4.56
Dusky Pink
#CC7A8B
ΔE00 5.28
Old Pink
#C77986
ΔE00 6.48
Ugly Pink
#CD7584
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC799B #79CCAA
analogous
#CC79C4 #CC799B #CC8079
triadic
#CC799B #9BCC79 #799BCC
tetradic
#CC799B #C4CC79 #79CCAA #8079CC
square
#CC799B #C4CC79 #79CCAA #8079CC
split-complementary
#CC799B #79CC80 #79C4CC
monochromatic
#93385D #BB4D7A #CC799B #DDA5BC #EED2DD
Accessibility & contrast
On white
3.10
#CC799B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#CC799B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC799B
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC799B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC799B | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83899C
Deuteranopia (green-blind)
#979899
Tritanopia (blue-blind)
#D87585
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #cc799b; /* rgb */ color: rgb(204, 121, 155); /* oklch */ color: oklch(67.5% 0.111 354.4);
Tailwind
colors: {
custom: {
50: '#dda1b8',
500: '#cc799b',
950: '#000000',
},
}SCSS
$custom: #cc799b; $custom-light: #dda1b8; $custom-dark: #000000;
JSON
{
"hex": "#cc799b",
"rgb": {
"r": 204,
"g": 121,
"b": 155
},
"hsl": {
"h": 335.422,
"s": 44.865,
"l": 63.725
},
"oklch": {
"l": 0.67538,
"c": 0.11096,
"h": 354.4
},
"luminance": 0.28879
}Semantic roles & 50–950 ramp
primary
#CC799B
secondary
#C2DFD3
accent
#B87F2D
background
#FDFAFB
surface
#FBF3F6
border
#D4CDD0
text
#150F11
muted
#837F80