#B23121#B23121
#B23121 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.0% C 0.168 H 30.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B23121 |
|---|---|
| RGB | rgb(178, 49, 33) |
| HSL | hsl(7, 69%, 41%) |
| HSV | hsv(7, 81%, 70%) |
| CMYK | cmyk(0%, 72.5%, 81.5%, 30.2%) |
| CIE-LAB | lab(40.86, 51.01, 39.91) |
| CIE-LCH | lch(40.86, 64.77, 38.04°) |
| OKLab | oklab(50.97% 0.1448 0.0857) |
| OKLCH | oklch(50.97% 0.168 30.6) |
| XYZ | xyz(19.7353, 11.7745, 2.6721) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.18
Brick
#A03623
ΔE00 3.49
Brownish Red
#9E3623
ΔE00 3.88
Rusty Red
#AF2F0D
ΔE00 4.06
Scarlet
#BE0119
ΔE00 4.21
Rust Red
#AA2704
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23121 #21A2B2
analogous
#B2215A #B23121 #B27A21
triadic
#B23121 #21B231 #3121B2
tetradic
#B23121 #5AB221 #21A2B2 #7A21B2
square
#B23121 #5AB221 #21A2B2 #7A21B2
split-complementary
#B23121 #21B27A #215AB2
monochromatic
#4B150E #7E2317 #B23121 #DA4836 #E3776A
Accessibility & contrast
On white
6.26
#B23121 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#B23121 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23121
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23121 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23121 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584E1E
Deuteranopia (green-blind)
#786B1B
Tritanopia (blue-blind)
#C4002F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b23121; /* rgb */ color: rgb(178, 49, 33); /* oklch */ color: oklch(51.0% 0.168 30.6);
Tailwind
colors: {
custom: {
50: '#d2725e',
500: '#b23121',
950: '#000000',
},
}SCSS
$custom: #b23121; $custom-light: #d2725e; $custom-dark: #000000;
JSON
{
"hex": "#b23121",
"rgb": {
"r": 178,
"g": 49,
"b": 33
},
"hsl": {
"h": 6.621,
"s": 68.72,
"l": 41.373
},
"oklch": {
"l": 0.50968,
"c": 0.16824,
"h": 30.6
},
"luminance": 0.11771
}Semantic roles & 50–950 ramp
primary
#B23121
secondary
#66BEC9
accent
#D8EC3C
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79