#B23831#B23831
#B23831 is a mid, vivid red. Relative luminance 0.125; OKLCH L 51.9% C 0.159 H 27.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B23831 |
|---|---|
| RGB | rgb(178, 56, 49) |
| HSL | hsl(3, 57%, 45%) |
| HSV | hsv(3, 72%, 70%) |
| CMYK | cmyk(0%, 68.5%, 72.5%, 30.2%) |
| CIE-LAB | lab(42.03, 48.91, 32.20) |
| CIE-LCH | lch(42.03, 58.55, 33.36°) |
| OKLab | oklab(51.9% 0.1415 0.0733) |
| OKLCH | oklch(51.9% 0.159 27.4) |
| XYZ | xyz(20.3309, 12.5181, 4.2508) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.48
Dull Red
#BB3F3F
ΔE00 3.69
Brown
#A52A2A
ΔE00 4.09
Brick
#A03623
ΔE00 4.99
Reddish
#C44240
ΔE00 5.04
Scarlet
#BE0119
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23831 #31ABB2
analogous
#B2316B #B23831 #B27931
triadic
#B23831 #31B238 #3831B2
tetradic
#B23831 #6BB231 #31ABB2 #7931B2
square
#B23831 #6BB231 #31ABB2 #7931B2
split-complementary
#B23831 #31B279 #316BB2
monochromatic
#521A17 #822924 #B23831 #CF5851 #DC8681
Accessibility & contrast
On white
5.99
#B23831 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#B23831 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23831
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23831 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23831 | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A522F
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#C41337
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b23831; /* rgb */ color: rgb(178, 56, 49); /* oklch */ color: oklch(51.9% 0.159 27.4);
Tailwind
colors: {
custom: {
50: '#d17669',
500: '#b23831',
950: '#000000',
},
}SCSS
$custom: #b23831; $custom-light: #d17669; $custom-dark: #000000;
JSON
{
"hex": "#b23831",
"rgb": {
"r": 178,
"g": 56,
"b": 49
},
"hsl": {
"h": 3.256,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.51902,
"c": 0.1593,
"h": 27.4
},
"luminance": 0.12515
}Semantic roles & 50–950 ramp
primary
#B23831
secondary
#79C1C5
accent
#D8E048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A