#C02D2D#C02D2D
#C02D2D is a mid, vivid red. Relative luminance 0.133; OKLCH L 53.2% C 0.184 H 26.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #C02D2D |
|---|---|
| RGB | rgb(192, 45, 45) |
| HSL | hsl(0, 62%, 46%) |
| HSV | hsv(0, 77%, 75%) |
| CMYK | cmyk(0%, 76.6%, 76.6%, 24.7%) |
| CIE-LAB | lab(43.18, 57.19, 36.52) |
| CIE-LCH | lch(43.18, 67.86, 32.56°) |
| OKLab | oklab(53.22% 0.165 0.0809) |
| OKLCH | oklch(53.22% 0.184 26.1) |
| XYZ | xyz(23.1530, 13.2764, 3.8256) |
| Luminance | 0.1327 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.75
Dull Red
#BB3F3F
ΔE00 3.91
Scarlet
#BE0119
ΔE00 4.11
Reddish
#C44240
ΔE00 4.43
Cherry (survey)
#CF0234
ΔE00 4.92
Lipstick Red
#C0022F
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02D2D #2DC0C0
analogous
#C02D77 #C02D2D #C0772D
triadic
#C02D2D #2DC02D #2D2DC0
tetradic
#C02D2D #77C02D #2DC0C0 #772DC0
square
#C02D2D #77C02D #2DC0C0 #772DC0
split-complementary
#C02D2D #2DC077 #2D77C0
monochromatic
#5D1616 #8E2121 #C02D2D #D75353 #E28585
Accessibility & contrast
On white
5.75
#C02D2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#C02D2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02D2D
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02D2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02D2D | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A522B
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#D4002F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #c02d2d; /* rgb */ color: rgb(192, 45, 45); /* oklch */ color: oklch(53.2% 0.184 26.1);
Tailwind
colors: {
custom: {
50: '#dc7366',
500: '#c02d2d',
950: '#000000',
},
}SCSS
$custom: #c02d2d; $custom-light: #dc7366; $custom-dark: #000000;
JSON
{
"hex": "#c02d2d",
"rgb": {
"r": 192,
"g": 45,
"b": 45
},
"hsl": {
"h": 0,
"s": 62.025,
"l": 46.471
},
"oklch": {
"l": 0.53223,
"c": 0.18377,
"h": 26.1
},
"luminance": 0.13273
}Semantic roles & 50–950 ramp
primary
#C02D2D
secondary
#7DCCCC
accent
#E5E543
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170906
muted
#857B7A