#CC5262#CC5262
#CC5262 is a mid, vivid red. Relative luminance 0.198; OKLCH L 60.2% C 0.155 H 15.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CC5262 |
|---|---|
| RGB | rgb(204, 82, 98) |
| HSL | hsl(352, 54%, 56%) |
| HSV | hsv(352, 60%, 80%) |
| CMYK | cmyk(0%, 59.8%, 52%, 20%) |
| CIE-LAB | lab(51.56, 49.69, 16.07) |
| CIE-LCH | lch(51.56, 52.23, 17.92°) |
| OKLab | oklab(60.17% 0.1496 0.0405) |
| OKLCH | oklch(60.17% 0.155 15.1) |
| XYZ | xyz(30.1262, 19.7575, 13.7800) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Rose
#C74767
ΔE00 4.72
Indianred
#CD5C5C
ΔE00 4.76
Rose (survey)
#CF6275
ΔE00 4.85
Faded Red
#D3494E
ΔE00 5.42
Cherry
#DE3163
ΔE00 5.71
Dusty Red
#B9484E
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC5262 #52CCBC
analogous
#CC529F #CC5262 #CC7F52
triadic
#CC5262 #62CC52 #5262CC
tetradic
#CC5262 #9FCC52 #52CCBC #7F52CC
square
#CC5262 #9FCC52 #52CCBC #7F52CC
split-complementary
#CC5262 #52CC7F #529FCC
monochromatic
#7E2531 #AE3343 #CC5262 #DA818D #E8B1B8
Accessibility & contrast
On white
4.24
#CC5262 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#CC5262 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC5262
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC5262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC5262 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6B62
Deuteranopia (green-blind)
#8D845F
Tritanopia (blue-blind)
#DE3F58
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cc5262; /* rgb */ color: rgb(204, 82, 98); /* oklch */ color: oklch(60.2% 0.155 15.1);
Tailwind
colors: {
custom: {
50: '#e1888e',
500: '#cc5262',
950: '#000000',
},
}SCSS
$custom: #cc5262; $custom-light: #e1888e; $custom-dark: #000000;
JSON
{
"hex": "#cc5262",
"rgb": {
"r": 204,
"g": 82,
"b": 98
},
"hsl": {
"h": 352.131,
"s": 54.464,
"l": 56.078
},
"oklch": {
"l": 0.60172,
"c": 0.15501,
"h": 15.1
},
"luminance": 0.19754
}Semantic roles & 50–950 ramp
primary
#CC5262
secondary
#A4D6CF
accent
#DECA4A
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#160C0C
muted
#847D7D