#CC798C#CC798C
#CC798C is a light, moderate red. Relative luminance 0.284; OKLCH L 67.1% C 0.106 H 5.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CC798C |
|---|---|
| RGB | rgb(204, 121, 140) |
| HSL | hsl(346, 45%, 64%) |
| HSV | hsv(346, 41%, 80%) |
| CMYK | cmyk(0%, 40.7%, 31.4%, 20%) |
| CIE-LAB | lab(60.26, 34.66, 3.74) |
| CIE-LCH | lch(60.26, 34.86, 6.16°) |
| OKLab | oklab(67.08% 0.105 0.0102) |
| OKLCH | oklch(67.08% 0.106 5.5) |
| XYZ | xyz(36.4741, 28.4084, 28.3682) |
| Luminance | 0.2841 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusky Pink
#CC7A8B
ΔE00 0.63
Muted Pink
#D1768F
ΔE00 1.76
Old Pink
#C77986
ΔE00 1.98
Ugly Pink
#CD7584
ΔE00 2.15
Old Rose
#C87F89
ΔE00 3.01
Dull Pink
#D5869D
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC798C #79CCB9
analogous
#CC79B5 #CC798C #CC8F79
triadic
#CC798C #8CCC79 #798CCC
tetradic
#CC798C #B5CC79 #79CCB9 #8F79CC
square
#CC798C #B5CC79 #79CCB9 #8F79CC
split-complementary
#CC798C #79CC8F #79B5CC
monochromatic
#93384D #BB4D66 #CC798C #DDA5B2 #EED2D8
Accessibility & contrast
On white
3.14
#CC798C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#CC798C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC798C
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC798C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC798C | 1.00 | 3.14 | 6.68 | 6.68 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86888D
Deuteranopia (green-blind)
#9B978A
Tritanopia (blue-blind)
#D97280
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #cc798c; /* rgb */ color: rgb(204, 121, 140); /* oklch */ color: oklch(67.1% 0.106 5.5);
Tailwind
colors: {
custom: {
50: '#dea1ad',
500: '#cc798c',
950: '#000000',
},
}SCSS
$custom: #cc798c; $custom-light: #dea1ad; $custom-dark: #000000;
JSON
{
"hex": "#cc798c",
"rgb": {
"r": 204,
"g": 121,
"b": 140
},
"hsl": {
"h": 346.265,
"s": 44.865,
"l": 63.725
},
"oklch": {
"l": 0.6708,
"c": 0.10552,
"h": 5.5
},
"luminance": 0.28406
}Semantic roles & 50–950 ramp
primary
#CC798C
secondary
#C2DFD8
accent
#B8982D
background
#FDFAFA
surface
#FBF3F4
border
#D4CDCE
text
#150F10
muted
#837F7F