#CD342A#CD342A
#CD342A is a mid, vivid red. Relative luminance 0.156; OKLCH L 56.1% C 0.191 H 28.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CD342A |
|---|---|
| RGB | rgb(205, 52, 42) |
| HSL | hsl(4, 66%, 48%) |
| HSV | hsv(4, 80%, 80%) |
| CMYK | cmyk(0%, 74.6%, 79.5%, 19.6%) |
| CIE-LAB | lab(46.45, 58.78, 42.38) |
| CIE-LCH | lch(46.45, 72.46, 35.79°) |
| OKLab | oklab(56.1% 0.1679 0.0917) |
| OKLCH | oklch(56.1% 0.191 28.6) |
| XYZ | xyz(26.8260, 15.6065, 3.7899) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 4.86
Dull Red
#BB3F3F
ΔE00 5.98
Red (survey)
#E50000
ΔE00 6.07
Scarlet
#BE0119
ΔE00 6.47
Firebrick
#B22222
ΔE00 6.94
Cherry Red
#F7022A
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD342A #2AC3CD
analogous
#CD2A71 #CD342A #CD852A
triadic
#CD342A #2ACD34 #342ACD
tetradic
#CD342A #71CD2A #2AC3CD #852ACD
square
#CD342A #71CD2A #2AC3CD #852ACD
split-complementary
#CD342A #2ACD85 #2A71CD
monochromatic
#671A15 #9A2720 #CD342A #DD6058 #E7908A
Accessibility & contrast
On white
5.10
#CD342A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#CD342A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CD342A
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD342A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CD342A | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635927
Deuteranopia (green-blind)
#897A23
Tritanopia (blue-blind)
#E20033
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #cd342a; /* rgb */ color: rgb(205, 52, 42); /* oklch */ color: oklch(56.1% 0.191 28.6);
Tailwind
colors: {
custom: {
50: '#e67765',
500: '#cd342a',
950: '#000000',
},
}SCSS
$custom: #cd342a; $custom-light: #e67765; $custom-dark: #000000;
JSON
{
"hex": "#cd342a",
"rgb": {
"r": 205,
"g": 52,
"b": 42
},
"hsl": {
"h": 3.681,
"s": 65.992,
"l": 48.431
},
"oklch": {
"l": 0.56101,
"c": 0.1913,
"h": 28.6
},
"luminance": 0.15602
}Semantic roles & 50–950 ramp
primary
#CD342A
secondary
#82CCD1
accent
#DEE93F
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180A06
muted
#867C7A