#C23840#C23840
#C23840 is a mid, vivid red. Relative luminance 0.147; OKLCH L 54.9% C 0.174 H 22.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #C23840 |
|---|---|
| RGB | rgb(194, 56, 64) |
| HSL | hsl(357, 55%, 49%) |
| HSV | hsv(357, 71%, 76%) |
| CMYK | cmyk(0%, 71.1%, 67%, 23.9%) |
| CIE-LAB | lab(45.18, 54.89, 27.78) |
| CIE-LCH | lch(45.18, 61.52, 26.84°) |
| OKLab | oklab(54.87% 0.1615 0.0653) |
| OKLCH | oklch(54.87% 0.174 22) |
| XYZ | xyz(24.5903, 14.6715, 6.3865) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 1.86
Reddish
#C44240
ΔE00 2.73
Cardinal
#C41E3A
ΔE00 3.35
Dusty Red
#B9484E
ΔE00 3.70
Cherry (survey)
#CF0234
ΔE00 4.09
Crimson
#DC143C
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C23840 #38C2BA
analogous
#C23885 #C23840 #C27538
triadic
#C23840 #40C238 #3840C2
tetradic
#C23840 #85C238 #38C2BA #7538C2
square
#C23840 #85C238 #38C2BA #7538C2
split-complementary
#C23840 #38C275 #3885C2
monochromatic
#631D21 #932A30 #C23840 #D2656B #E09499
Accessibility & contrast
On white
5.34
#C23840 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#C23840 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C23840
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C23840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C23840 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F583F
Deuteranopia (green-blind)
#81763C
Tritanopia (blue-blind)
#D5073C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #c23840; /* rgb */ color: rgb(194, 56, 64); /* oklch */ color: oklch(54.9% 0.174 22.0);
Tailwind
colors: {
custom: {
50: '#dc7874',
500: '#c23840',
950: '#000000',
},
}SCSS
$custom: #c23840; $custom-light: #dc7874; $custom-dark: #000000;
JSON
{
"hex": "#c23840",
"rgb": {
"r": 194,
"g": 56,
"b": 64
},
"hsl": {
"h": 356.522,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.54867,
"c": 0.17422,
"h": 22
},
"luminance": 0.14668
}Semantic roles & 50–950 ramp
primary
#C23840
secondary
#8ACBC8
accent
#DFD649
background
#FEF7F7
surface
#FDEEED
border
#D5C9C8
text
#160A08
muted
#847C7B