#B23731#B23731
#B23731 is a mid, vivid red. Relative luminance 0.124; OKLCH L 51.8% C 0.160 H 27.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B23731 |
|---|---|
| RGB | rgb(178, 55, 49) |
| HSL | hsl(3, 57%, 45%) |
| HSV | hsv(3, 72%, 70%) |
| CMYK | cmyk(0%, 69.1%, 72.5%, 30.2%) |
| CIE-LAB | lab(41.88, 49.31, 32.03) |
| CIE-LCH | lch(41.88, 58.80, 33.01°) |
| OKLab | oklab(51.79% 0.1427 0.0729) |
| OKLCH | oklch(51.79% 0.16 27.1) |
| XYZ | xyz(20.2829, 12.4221, 4.2348) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.37
Dull Red
#BB3F3F
ΔE00 3.66
Brown
#A52A2A
ΔE00 3.91
Brick
#A03623
ΔE00 5.08
Reddish
#C44240
ΔE00 5.09
Scarlet
#BE0119
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23731 #31ACB2
analogous
#B2316B #B23731 #B27831
triadic
#B23731 #31B237 #3731B2
tetradic
#B23731 #6BB231 #31ACB2 #7831B2
square
#B23731 #6BB231 #31ACB2 #7831B2
split-complementary
#B23731 #31B278 #316BB2
monochromatic
#521917 #822824 #B23731 #CF5751 #DC8581
Accessibility & contrast
On white
6.03
#B23731 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#B23731 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23731
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23731 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23731 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A522F
Deuteranopia (green-blind)
#786D2D
Tritanopia (blue-blind)
#C41037
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b23731; /* rgb */ color: rgb(178, 55, 49); /* oklch */ color: oklch(51.8% 0.160 27.1);
Tailwind
colors: {
custom: {
50: '#d17569',
500: '#b23731',
950: '#000000',
},
}SCSS
$custom: #b23731; $custom-light: #d17569; $custom-dark: #000000;
JSON
{
"hex": "#b23731",
"rgb": {
"r": 178,
"g": 55,
"b": 49
},
"hsl": {
"h": 2.791,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.51791,
"c": 0.16026,
"h": 27.1
},
"luminance": 0.12419
}Semantic roles & 50–950 ramp
primary
#B23731
secondary
#79C2C5
accent
#D9E048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A