#CC504C#CC504C
#CC504C is a mid, vivid red. Relative luminance 0.191; OKLCH L 59.5% C 0.159 H 25.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CC504C |
|---|---|
| RGB | rgb(204, 80, 76) |
| HSL | hsl(2, 56%, 55%) |
| HSV | hsv(2, 63%, 80%) |
| CMYK | cmyk(0%, 60.8%, 62.7%, 20%) |
| CIE-LAB | lab(50.80, 48.96, 28.09) |
| CIE-LCH | lch(50.80, 56.44, 29.84°) |
| OKLab | oklab(59.47% 0.1439 0.0671) |
| OKLCH | oklch(59.47% 0.159 25) |
| XYZ | xyz(29.0778, 19.1003, 8.9916) |
| Luminance | 0.1910 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Coral
#CF524E
ΔE00 0.87
Dark Salmon
#C85A53
ΔE00 2.25
Faded Red
#D3494E
ΔE00 2.29
Pale Red
#D9544D
ΔE00 3.14
Indianred
#CD5C5C
ΔE00 3.76
Reddish
#C44240
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC504C #4CC8CC
analogous
#CC4C88 #CC504C #CC904C
triadic
#CC504C #4CCC50 #504CCC
tetradic
#CC504C #88CC4C #4CC8CC #904CCC
square
#CC504C #88CC4C #4CC8CC #904CCC
split-complementary
#CC504C #4CCC90 #4C88CC
monochromatic
#7B2623 #AA3431 #CC504C #DA7F7C #E7ADAB
Accessibility & contrast
On white
4.36
#CC504C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#CC504C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC504C
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC504C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC504C | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70684B
Deuteranopia (green-blind)
#8F8349
Tritanopia (blue-blind)
#DF3750
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cc504c; /* rgb */ color: rgb(204, 80, 76); /* oklch */ color: oklch(59.5% 0.159 25.0);
Tailwind
colors: {
custom: {
50: '#e2867e',
500: '#cc504c',
950: '#000000',
},
}SCSS
$custom: #cc504c; $custom-light: #e2867e; $custom-dark: #000000;
JSON
{
"hex": "#cc504c",
"rgb": {
"r": 204,
"g": 80,
"b": 76
},
"hsl": {
"h": 1.875,
"s": 55.652,
"l": 54.902
},
"oklch": {
"l": 0.59468,
"c": 0.15875,
"h": 25
},
"luminance": 0.19096
}Semantic roles & 50–950 ramp
primary
#CC504C
secondary
#9FD3D5
accent
#DADF49
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170B0A
muted
#857C7C