#C23942#C23942
#C23942 is a mid, vivid red. Relative luminance 0.148; OKLCH L 55.0% C 0.173 H 21.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #C23942 |
|---|---|
| RGB | rgb(194, 57, 66) |
| HSL | hsl(356, 55%, 49%) |
| HSV | hsv(356, 71%, 76%) |
| CMYK | cmyk(0%, 70.6%, 66%, 23.9%) |
| CIE-LAB | lab(45.35, 54.63, 26.78) |
| CIE-LCH | lch(45.35, 60.84, 26.12°) |
| OKLab | oklab(55% 0.1611 0.0633) |
| OKLCH | oklch(55% 0.173 21.5) |
| XYZ | xyz(24.6972, 14.7925, 6.7080) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.12
Reddish
#C44240
ΔE00 2.95
Dusty Red
#B9484E
ΔE00 3.33
Cardinal
#C41E3A
ΔE00 3.39
Cherry (survey)
#CF0234
ΔE00 4.28
Crimson
#DC143C
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C23942 #39C2B9
analogous
#C23987 #C23942 #C27439
triadic
#C23942 #42C239 #3942C2
tetradic
#C23942 #87C239 #39C2B9 #7439C2
square
#C23942 #87C239 #39C2B9 #7439C2
split-complementary
#C23942 #39C274 #3987C2
monochromatic
#631D22 #932B32 #C23942 #D2666D #E0959A
Accessibility & contrast
On white
5.31
#C23942 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#C23942 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C23942
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C23942 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C23942 | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5941
Deuteranopia (green-blind)
#81763E
Tritanopia (blue-blind)
#D50C3D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c23942; /* rgb */ color: rgb(194, 57, 66); /* oklch */ color: oklch(55.0% 0.173 21.5);
Tailwind
colors: {
custom: {
50: '#dc7976',
500: '#c23942',
950: '#000000',
},
}SCSS
$custom: #c23942; $custom-light: #dc7976; $custom-dark: #000000;
JSON
{
"hex": "#c23942",
"rgb": {
"r": 194,
"g": 57,
"b": 66
},
"hsl": {
"h": 356.058,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.55003,
"c": 0.17309,
"h": 21.5
},
"luminance": 0.14789
}Semantic roles & 50–950 ramp
primary
#C23942
secondary
#8BCBC7
accent
#DED44A
background
#FEF7F7
surface
#FDEEED
border
#D5C9C8
text
#160A08
muted
#847C7B