#B23931#B23931
#B23931 is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.0% C 0.158 H 27.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B23931 |
|---|---|
| RGB | rgb(178, 57, 49) |
| HSL | hsl(4, 57%, 45%) |
| HSV | hsv(4, 72%, 70%) |
| CMYK | cmyk(0%, 68%, 72.5%, 30.2%) |
| CIE-LAB | lab(42.18, 48.49, 32.37) |
| CIE-LCH | lch(42.18, 58.31, 33.73°) |
| OKLab | oklab(52.02% 0.1402 0.0736) |
| OKLCH | oklch(52.02% 0.158 27.7) |
| XYZ | xyz(20.3798, 12.6160, 4.2671) |
| Luminance | 0.1261 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.61
Dull Red
#BB3F3F
ΔE00 3.74
Brown
#A52A2A
ΔE00 4.29
Brick
#A03623
ΔE00 4.91
Reddish
#C44240
ΔE00 5.01
Brownish Red
#9E3623
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23931 #31AAB2
analogous
#B2316A #B23931 #B27A31
triadic
#B23931 #31B239 #3931B2
tetradic
#B23931 #6AB231 #31AAB2 #7A31B2
square
#B23931 #6AB231 #31AAB2 #7A31B2
split-complementary
#B23931 #31B27A #316AB2
monochromatic
#521A17 #822A24 #B23931 #CF5951 #DC8781
Accessibility & contrast
On white
5.96
#B23931 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#B23931 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23931
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23931 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23931 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B532F
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#C41538
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b23931; /* rgb */ color: rgb(178, 57, 49); /* oklch */ color: oklch(52.0% 0.158 27.7);
Tailwind
colors: {
custom: {
50: '#d17669',
500: '#b23931',
950: '#000000',
},
}SCSS
$custom: #b23931; $custom-light: #d17669; $custom-dark: #000000;
JSON
{
"hex": "#b23931",
"rgb": {
"r": 178,
"g": 57,
"b": 49
},
"hsl": {
"h": 3.721,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.52015,
"c": 0.15833,
"h": 27.7
},
"luminance": 0.12613
}Semantic roles & 50–950 ramp
primary
#B23931
secondary
#79C1C5
accent
#D7E048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A