#CC5151#CC5151
#CC5151 is a mid, vivid red. Relative luminance 0.193; OKLCH L 59.7% C 0.157 H 23.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CC5151 |
|---|---|
| RGB | rgb(204, 81, 81) |
| HSL | hsl(0, 55%, 56%) |
| HSV | hsv(0, 60%, 80%) |
| CMYK | cmyk(0%, 60.3%, 60.3%, 20%) |
| CIE-LAB | lab(51.06, 48.84, 25.48) |
| CIE-LCH | lch(51.06, 55.09, 27.55°) |
| OKLab | oklab(59.69% 0.1444 0.0616) |
| OKLCH | oklch(59.69% 0.157 23.1) |
| XYZ | xyz(29.3322, 19.3201, 9.9675) |
| Luminance | 0.1932 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Coral
#CF524E
ΔE00 1.47
Faded Red
#D3494E
ΔE00 1.72
Dark Salmon
#C85A53
ΔE00 2.41
Indianred
#CD5C5C
ΔE00 2.85
Pale Red
#D9544D
ΔE00 3.71
Pastel Red
#DB5856
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC5151 #51CCCC
analogous
#CC518E #CC5151 #CC8E51
triadic
#CC5151 #51CC51 #5151CC
tetradic
#CC5151 #8ECC51 #51CCCC #8E51CC
square
#CC5151 #8ECC51 #51CCCC #8E51CC
split-complementary
#CC5151 #51CC8E #518ECC
monochromatic
#7E2525 #AD3333 #CC5151 #DA8080 #E8B0B0
Accessibility & contrast
On white
4.32
#CC5151 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#CC5151 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC5151
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC5151 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC5151 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706950
Deuteranopia (green-blind)
#8F834E
Tritanopia (blue-blind)
#DF3952
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cc5151; /* rgb */ color: rgb(204, 81, 81); /* oklch */ color: oklch(59.7% 0.157 23.1);
Tailwind
colors: {
custom: {
50: '#e28782',
500: '#cc5151',
950: '#000000',
},
}SCSS
$custom: #cc5151; $custom-light: #e28782; $custom-dark: #000000;
JSON
{
"hex": "#cc5151",
"rgb": {
"r": 204,
"g": 81,
"b": 81
},
"hsl": {
"h": 0,
"s": 54.667,
"l": 55.882
},
"oklch": {
"l": 0.59688,
"c": 0.15699,
"h": 23.1
},
"luminance": 0.19316
}Semantic roles & 50–950 ramp
primary
#CC5151
secondary
#A3D6D6
accent
#DEDE4A
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170C0A
muted
#857D7C