#CD2A17#CD2A17
#CD2A17 is a mid, highly saturated red. Relative luminance 0.147; OKLCH L 55.1% C 0.201 H 30.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #CD2A17 |
|---|---|
| RGB | rgb(205, 42, 23) |
| HSL | hsl(6, 80%, 45%) |
| HSV | hsv(6, 89%, 80%) |
| CMYK | cmyk(0%, 79.5%, 88.8%, 19.6%) |
| CIE-LAB | lab(45.22, 61.36, 50.51) |
| CIE-LCH | lch(45.22, 79.47, 39.46°) |
| OKLab | oklab(55.14% 0.1727 0.1023) |
| OKLCH | oklch(55.14% 0.201 30.6) |
| XYZ | xyz(26.1628, 14.7012, 2.2705) |
| Luminance | 0.1470 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red (survey)
#E50000
ΔE00 4.27
Rusty Red
#AF2F0D
ΔE00 6.17
Scarlet
#BE0119
ΔE00 6.36
Rust
#B7410E
ΔE00 6.93
Firebrick
#B22222
ΔE00 7.32
Tomato Red
#EC2D01
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD2A17 #17BACD
analogous
#CD175F #CD2A17 #CD8517
triadic
#CD2A17 #17CD2A #2A17CD
tetradic
#CD2A17 #5FCD17 #17BACD #8517CD
square
#CD2A17 #5FCD17 #17BACD #8517CD
split-complementary
#CD2A17 #17CD85 #175FCD
monochromatic
#5F130B #961F11 #CD2A17 #E94B38 #EF7D70
Accessibility & contrast
On white
5.33
#CD2A17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#CD2A17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CD2A17
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD2A17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CD2A17 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5411
Deuteranopia (green-blind)
#877807
Tritanopia (blue-blind)
#E20028
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #cd2a17; /* rgb */ color: rgb(205, 42, 23); /* oklch */ color: oklch(55.1% 0.201 30.6);
Tailwind
colors: {
custom: {
50: '#e77359',
500: '#cd2a17',
950: '#000000',
},
}SCSS
$custom: #cd2a17; $custom-light: #e77359; $custom-dark: #000000;
JSON
{
"hex": "#cd2a17",
"rgb": {
"r": 205,
"g": 42,
"b": 23
},
"hsl": {
"h": 6.264,
"s": 79.825,
"l": 44.706
},
"oklch": {
"l": 0.55139,
"c": 0.20076,
"h": 30.6
},
"luminance": 0.14697
}Semantic roles & 50–950 ramp
primary
#CD2A17
secondary
#6BCAD5
accent
#E2F632
background
#FFF7F5
surface
#FFEDE9
border
#D7C8C5
text
#180904
muted
#867B79