#CC505C#CC505C
#CC505C is a mid, vivid red. Relative luminance 0.193; OKLCH L 59.8% C 0.157 H 17.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CC505C |
|---|---|
| RGB | rgb(204, 80, 92) |
| HSL | hsl(354, 55%, 56%) |
| HSV | hsv(354, 61%, 80%) |
| CMYK | cmyk(0%, 60.8%, 54.9%, 20%) |
| CIE-LAB | lab(51.10, 50.11, 19.02) |
| CIE-LCH | lch(51.10, 53.59, 20.78°) |
| OKLab | oklab(59.78% 0.1502 0.0473) |
| OKLCH | oklch(59.78% 0.157 17.5) |
| XYZ | xyz(29.7048, 19.3511, 12.2940) |
| Luminance | 0.1935 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Indianred
#CD5C5C
ΔE00 3.85
Faded Red
#D3494E
ΔE00 3.86
Dark Coral
#CF524E
ΔE00 5.11
Dusty Red
#B9484E
ΔE00 5.13
Dark Salmon
#C85A53
ΔE00 5.44
Pastel Red
#DB5856
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC505C #50CCC0
analogous
#CC509A #CC505C #CC8250
triadic
#CC505C #5CCC50 #505CCC
tetradic
#CC505C #9ACC50 #50CCC0 #8250CC
square
#CC505C #9ACC50 #50CCC0 #8250CC
split-complementary
#CC505C #50CC82 #509ACC
monochromatic
#7D242D #AD323E #CC505C #DA7F88 #E8AFB4
Accessibility & contrast
On white
4.31
#CC505C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#CC505C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC505C
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC505C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC505C | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6A5C
Deuteranopia (green-blind)
#8D8359
Tritanopia (blue-blind)
#DE3B55
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cc505c; /* rgb */ color: rgb(204, 80, 92); /* oklch */ color: oklch(59.8% 0.157 17.5);
Tailwind
colors: {
custom: {
50: '#e1868a',
500: '#cc505c',
950: '#000000',
},
}SCSS
$custom: #cc505c; $custom-light: #e1868a; $custom-dark: #000000;
JSON
{
"hex": "#cc505c",
"rgb": {
"r": 204,
"g": 80,
"b": 92
},
"hsl": {
"h": 354.194,
"s": 54.867,
"l": 55.686
},
"oklch": {
"l": 0.59782,
"c": 0.15741,
"h": 17.5
},
"luminance": 0.19347
}Semantic roles & 50–950 ramp
primary
#CC505C
secondary
#A2D6D1
accent
#DED04A
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#160C0B
muted
#847D7C