#B23038#B23038
#B23038 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.166 H 22.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B23038 |
|---|---|
| RGB | rgb(178, 48, 56) |
| HSL | hsl(356, 58%, 44%) |
| HSV | hsv(356, 73%, 70%) |
| CMYK | cmyk(0%, 73%, 68.5%, 30.2%) |
| CIE-LAB | lab(41.00, 52.34, 26.80) |
| CIE-LCH | lch(41.00, 58.81, 27.11°) |
| OKLab | oklab(51.17% 0.1538 0.0626) |
| OKLCH | oklch(51.17% 0.166 22.1) |
| XYZ | xyz(20.1331, 11.8674, 4.9711) |
| Luminance | 0.1186 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.49
Lipstick Red
#C0022F
ΔE00 3.65
Dull Red
#BB3F3F
ΔE00 3.82
Brown
#A52A2A
ΔE00 4.03
Firebrick
#B22222
ΔE00 5.10
Cherry (survey)
#CF0234
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23038 #30B2AA
analogous
#B23079 #B23038 #B26930
triadic
#B23038 #38B230 #3038B2
tetradic
#B23038 #79B230 #30B2AA #6930B2
square
#B23038 #79B230 #30B2AA #6930B2
split-complementary
#B23038 #30B269 #3079B2
monochromatic
#52161A #822329 #B23038 #D05057 #DD8085
Accessibility & contrast
On white
6.23
#B23038 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#B23038 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23038
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23038 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23038 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554F37
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#C40034
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b23038; /* rgb */ color: rgb(178, 48, 56); /* oklch */ color: oklch(51.2% 0.166 22.1);
Tailwind
colors: {
custom: {
50: '#d1726e',
500: '#b23038',
950: '#000000',
},
}SCSS
$custom: #b23038; $custom-light: #d1726e; $custom-dark: #000000;
JSON
{
"hex": "#b23038",
"rgb": {
"r": 178,
"g": 48,
"b": 56
},
"hsl": {
"h": 356.308,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.5117,
"c": 0.16607,
"h": 22.1
},
"luminance": 0.11864
}Semantic roles & 50–950 ramp
primary
#B23038
secondary
#78C6C1
accent
#E1D747
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A