#B23938#B23938
#B23938 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.1% C 0.157 H 24.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B23938 |
|---|---|
| RGB | rgb(178, 57, 56) |
| HSL | hsl(0, 52%, 46%) |
| HSV | hsv(0, 69%, 70%) |
| CMYK | cmyk(0%, 68%, 68.5%, 30.2%) |
| CIE-LAB | lab(42.28, 48.85, 28.35) |
| CIE-LCH | lch(42.28, 56.48, 30.13°) |
| OKLab | oklab(52.12% 0.1427 0.0661) |
| OKLCH | oklch(52.12% 0.157 24.8) |
| XYZ | xyz(20.5392, 12.6797, 5.1065) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.52
Brown
#A52A2A
ΔE00 4.29
Reddish
#C44240
ΔE00 4.52
Firebrick
#B22222
ΔE00 4.68
Cardinal
#C41E3A
ΔE00 4.82
Lipstick Red
#C0022F
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23938 #38B1B2
analogous
#B23874 #B23938 #B27638
triadic
#B23938 #38B239 #3938B2
tetradic
#B23938 #74B238 #38B1B2 #7638B2
square
#B23938 #74B238 #38B1B2 #7638B2
split-complementary
#B23938 #38B276 #3874B2
monochromatic
#551B1B #832A29 #B23938 #CC5D5C #DA8B8A
Accessibility & contrast
On white
5.94
#B23938 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#B23938 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23938
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23938 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23938 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5337
Deuteranopia (green-blind)
#796D34
Tritanopia (blue-blind)
#C3183A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b23938; /* rgb */ color: rgb(178, 57, 56); /* oklch */ color: oklch(52.1% 0.157 24.8);
Tailwind
colors: {
custom: {
50: '#d0776e',
500: '#b23938',
950: '#000000',
},
}SCSS
$custom: #b23938; $custom-light: #d0776e; $custom-dark: #000000;
JSON
{
"hex": "#b23938",
"rgb": {
"r": 178,
"g": 57,
"b": 56
},
"hsl": {
"h": 0.492,
"s": 52.137,
"l": 45.882
},
"oklch": {
"l": 0.5212,
"c": 0.15728,
"h": 24.8
},
"luminance": 0.12677
}Semantic roles & 50–950 ramp
primary
#B23938
secondary
#81C4C5
accent
#DADC4C
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A