#C2331F#C2331F
#C2331F is a mid, vivid red. Relative luminance 0.139; OKLCH L 54.0% C 0.183 H 31.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #C2331F |
|---|---|
| RGB | rgb(194, 51, 31) |
| HSL | hsl(7, 72%, 44%) |
| HSV | hsv(7, 84%, 76%) |
| CMYK | cmyk(0%, 73.7%, 84%, 23.9%) |
| CIE-LAB | lab(44.15, 55.38, 45.09) |
| CIE-LCH | lch(44.15, 71.42, 39.16°) |
| OKLab | oklab(53.97% 0.1564 0.0948) |
| OKLCH | oklch(53.97% 0.183 31.2) |
| XYZ | xyz(23.6822, 13.9397, 2.7397) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 4.99
Scarlet
#BE0119
ΔE00 5.56
Firebrick
#B22222
ΔE00 5.84
Red (survey)
#E50000
ΔE00 6.35
Rust
#B7410E
ΔE00 6.43
Rust Red
#AA2704
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2331F #1FAEC2
analogous
#C21F5D #C2331F #C2851F
triadic
#C2331F #1FC233 #331FC2
tetradic
#C2331F #5DC21F #1FAEC2 #851FC2
square
#C2331F #5DC21F #1FAEC2 #851FC2
split-complementary
#C2331F #1FC285 #1F5DC2
monochromatic
#58170E #8D2517 #C2331F #E0523E #E98173
Accessibility & contrast
On white
5.54
#C2331F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#C2331F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C2331F
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2331F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C2331F | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F541B
Deuteranopia (green-blind)
#827417
Tritanopia (blue-blind)
#D60030
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #c2331f; /* rgb */ color: rgb(194, 51, 31); /* oklch */ color: oklch(54.0% 0.183 31.2);
Tailwind
colors: {
custom: {
50: '#de755d',
500: '#c2331f',
950: '#000000',
},
}SCSS
$custom: #c2331f; $custom-light: #de755d; $custom-dark: #000000;
JSON
{
"hex": "#c2331f",
"rgb": {
"r": 194,
"g": 51,
"b": 31
},
"hsl": {
"h": 7.362,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.53973,
"c": 0.18288,
"h": 31.2
},
"luminance": 0.13936
}Semantic roles & 50–950 ramp
primary
#C2331F
secondary
#6DC3CF
accent
#D9EF39
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170904
muted
#857B79