#B23A27#B23A27
#B23A27 is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.0% C 0.159 H 31.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #B23A27 |
|---|---|
| RGB | rgb(178, 58, 39) |
| HSL | hsl(8, 64%, 43%) |
| HSV | hsv(8, 78%, 70%) |
| CMYK | cmyk(0%, 67.4%, 78.1%, 30.2%) |
| CIE-LAB | lab(42.22, 47.65, 38.06) |
| CIE-LCH | lch(42.22, 60.99, 38.61°) |
| OKLab | oklab(52.01% 0.1355 0.0836) |
| OKLCH | oklch(52.01% 0.159 31.7) |
| XYZ | xyz(20.2416, 12.6406, 3.2931) |
| Luminance | 0.1264 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 3.84
Brownish Red
#9E3623
ΔE00 4.23
Firebrick
#B22222
ΔE00 4.42
Rusty Red
#AF2F0D
ΔE00 4.49
Scarlet
#BE0119
ΔE00 5.55
Rust Red
#AA2704
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23A27 #279FB2
analogous
#B2275A #B23A27 #B27F27
triadic
#B23A27 #27B23A #3A27B2
tetradic
#B23A27 #5AB227 #279FB2 #7F27B2
square
#B23A27 #5AB227 #279FB2 #7F27B2
split-complementary
#B23A27 #27B27F #275AB2
monochromatic
#4E1911 #802A1C #B23A27 #D55541 #E08273
Accessibility & contrast
On white
5.95
#B23A27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#B23A27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23A27
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23A27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23A27 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5324
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#C41536
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b23a27; /* rgb */ color: rgb(178, 58, 39); /* oklch */ color: oklch(52.0% 0.159 31.7);
Tailwind
colors: {
custom: {
50: '#d17762',
500: '#b23a27',
950: '#000000',
},
}SCSS
$custom: #b23a27; $custom-light: #d17762; $custom-dark: #000000;
JSON
{
"hex": "#b23a27",
"rgb": {
"r": 178,
"g": 58,
"b": 39
},
"hsl": {
"h": 8.201,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.52006,
"c": 0.15918,
"h": 31.7
},
"luminance": 0.12638
}Semantic roles & 50–950 ramp
primary
#B23A27
secondary
#6DBBC8
accent
#D0E741
background
#FEF7F5
surface
#FCEDEA
border
#D5C8C6
text
#160905
muted
#847B79