#B23031#B23031
#B23031 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.167 H 25.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B23031 |
|---|---|
| RGB | rgb(178, 48, 49) |
| HSL | hsl(360, 58%, 44%) |
| HSV | hsv(360, 73%, 70%) |
| CMYK | cmyk(0%, 73%, 72.5%, 30.2%) |
| CIE-LAB | lab(40.90, 52.00, 30.90) |
| CIE-LCH | lch(40.90, 60.48, 30.72°) |
| OKLab | oklab(51.06% 0.1512 0.0704) |
| OKLCH | oklch(51.06% 0.167 25) |
| XYZ | xyz(19.9737, 11.8037, 4.1318) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.04
Firebrick
#B22222
ΔE00 3.15
Dull Red
#BB3F3F
ΔE00 3.92
Lipstick Red
#C0022F
ΔE00 4.25
Cardinal
#C41E3A
ΔE00 4.80
Scarlet
#BE0119
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23031 #30B2B1
analogous
#B23072 #B23031 #B27030
triadic
#B23031 #31B230 #3031B2
tetradic
#B23031 #72B230 #30B2B1 #7030B2
square
#B23031 #72B230 #30B2B1 #7030B2
split-complementary
#B23031 #30B270 #3072B2
monochromatic
#521616 #822324 #B23031 #D05051 #DD8080
Accessibility & contrast
On white
6.25
#B23031 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B23031 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23031
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23031 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23031 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564F30
Deuteranopia (green-blind)
#766B2D
Tritanopia (blue-blind)
#C40032
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b23031; /* rgb */ color: rgb(178, 48, 49); /* oklch */ color: oklch(51.1% 0.167 25.0);
Tailwind
colors: {
custom: {
50: '#d17269',
500: '#b23031',
950: '#000000',
},
}SCSS
$custom: #b23031; $custom-light: #d17269; $custom-dark: #000000;
JSON
{
"hex": "#b23031",
"rgb": {
"r": 178,
"g": 48,
"b": 49
},
"hsl": {
"h": 359.538,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.51061,
"c": 0.16679,
"h": 25
},
"luminance": 0.11801
}Semantic roles & 50–950 ramp
primary
#B23031
secondary
#78C6C5
accent
#E1E047
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160806
muted
#847B7A