#B23937#B23937
#B23937 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.1% C 0.157 H 25.3°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B23937 |
|---|---|
| RGB | rgb(178, 57, 55) |
| HSL | hsl(1, 53%, 46%) |
| HSV | hsv(1, 69%, 70%) |
| CMYK | cmyk(0%, 68%, 69.1%, 30.2%) |
| CIE-LAB | lab(42.26, 48.80, 28.93) |
| CIE-LCH | lch(42.26, 56.73, 30.66°) |
| OKLab | oklab(52.1% 0.1424 0.0672) |
| OKLCH | oklch(52.1% 0.157 25.3) |
| XYZ | xyz(20.5150, 12.6700, 4.9790) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.62
Brown
#A52A2A
ΔE00 4.22
Firebrick
#B22222
ΔE00 4.47
Reddish
#C44240
ΔE00 4.53
Cardinal
#C41E3A
ΔE00 5.02
Lipstick Red
#C0022F
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23937 #37B0B2
analogous
#B23772 #B23937 #B27737
triadic
#B23937 #37B239 #3937B2
tetradic
#B23937 #72B237 #37B0B2 #7737B2
square
#B23937 #72B237 #37B0B2 #7737B2
split-complementary
#B23937 #37B277 #3772B2
monochromatic
#541B1A #832A29 #B23937 #CC5C5A #DB8A89
Accessibility & contrast
On white
5.94
#B23937 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#B23937 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23937
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23937 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23937 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5336
Deuteranopia (green-blind)
#796D33
Tritanopia (blue-blind)
#C4173A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b23937; /* rgb */ color: rgb(178, 57, 55); /* oklch */ color: oklch(52.1% 0.157 25.3);
Tailwind
colors: {
custom: {
50: '#d0766e',
500: '#b23937',
950: '#000000',
},
}SCSS
$custom: #b23937; $custom-light: #d0766e; $custom-dark: #000000;
JSON
{
"hex": "#b23937",
"rgb": {
"r": 178,
"g": 57,
"b": 55
},
"hsl": {
"h": 0.976,
"s": 52.79,
"l": 45.686
},
"oklch": {
"l": 0.52104,
"c": 0.15742,
"h": 25.3
},
"luminance": 0.12667
}Semantic roles & 50–950 ramp
primary
#B23937
secondary
#80C4C5
accent
#DADC4C
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150907
muted
#837B7A