#C23940#C23940
#C23940 is a mid, vivid red. Relative luminance 0.148; OKLCH L 55.0% C 0.173 H 22.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #C23940 |
|---|---|
| RGB | rgb(194, 57, 64) |
| HSL | hsl(357, 55%, 49%) |
| HSV | hsv(357, 71%, 76%) |
| CMYK | cmyk(0%, 70.6%, 67%, 23.9%) |
| CIE-LAB | lab(45.32, 54.51, 27.94) |
| CIE-LCH | lch(45.32, 61.26, 27.14°) |
| OKLab | oklab(54.97% 0.1603 0.0657) |
| OKLCH | oklch(54.97% 0.173 22.3) |
| XYZ | xyz(24.6393, 14.7694, 6.4029) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 1.71
Reddish
#C44240
ΔE00 2.50
Cardinal
#C41E3A
ΔE00 3.56
Dusty Red
#B9484E
ΔE00 3.69
Cherry (survey)
#CF0234
ΔE00 4.23
Crimson
#DC143C
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C23940 #39C2BB
analogous
#C23985 #C23940 #C27739
triadic
#C23940 #40C239 #3940C2
tetradic
#C23940 #85C239 #39C2BB #7739C2
square
#C23940 #85C239 #39C2BB #7739C2
split-complementary
#C23940 #39C277 #3985C2
monochromatic
#631D21 #932B30 #C23940 #D2666C #E09599
Accessibility & contrast
On white
5.31
#C23940 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#C23940 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C23940
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C23940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C23940 | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F593F
Deuteranopia (green-blind)
#82763C
Tritanopia (blue-blind)
#D50B3D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c23940; /* rgb */ color: rgb(194, 57, 64); /* oklch */ color: oklch(55.0% 0.173 22.3);
Tailwind
colors: {
custom: {
50: '#dc7975',
500: '#c23940',
950: '#000000',
},
}SCSS
$custom: #c23940; $custom-light: #dc7975; $custom-dark: #000000;
JSON
{
"hex": "#c23940",
"rgb": {
"r": 194,
"g": 57,
"b": 64
},
"hsl": {
"h": 356.934,
"s": 54.582,
"l": 49.216
},
"oklch": {
"l": 0.54969,
"c": 0.17326,
"h": 22.3
},
"luminance": 0.14766
}Semantic roles & 50–950 ramp
primary
#C23940
secondary
#8BCBC8
accent
#DED64A
background
#FEF7F7
surface
#FDEEED
border
#D5C9C8
text
#160A08
muted
#847C7B