#B23942#B23942
#B23942 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.3% C 0.156 H 20.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #B23942 |
|---|---|
| RGB | rgb(178, 57, 66) |
| HSL | hsl(356, 51%, 46%) |
| HSV | hsv(356, 68%, 70%) |
| CMYK | cmyk(0%, 68%, 62.9%, 30.2%) |
| CIE-LAB | lab(42.44, 49.45, 22.49) |
| CIE-LCH | lch(42.44, 54.32, 24.46°) |
| OKLab | oklab(52.3% 0.1466 0.0541) |
| OKLCH | oklch(52.3% 0.156 20.3) |
| XYZ | xyz(20.8087, 12.7875, 6.5257) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.60
Dusty Red
#B9484E
ΔE00 3.82
Cardinal
#C41E3A
ΔE00 3.91
Lipstick Red
#C0022F
ΔE00 5.27
Rose Red
#BE013C
ΔE00 5.30
Reddish
#C44240
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23942 #39B2A9
analogous
#B2397E #B23942 #B26C39
triadic
#B23942 #42B239 #3942B2
tetradic
#B23942 #7EB239 #39B2A9 #6C39B2
square
#B23942 #7EB239 #39B2A9 #6C39B2
split-complementary
#B23942 #39B26C #397EB2
monochromatic
#551B20 #842A31 #B23942 #CB5D65 #DA8B91
Accessibility & contrast
On white
5.90
#B23942 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#B23942 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23942
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23942 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23942 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595441
Deuteranopia (green-blind)
#786E3F
Tritanopia (blue-blind)
#C31B3D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #b23942; /* rgb */ color: rgb(178, 57, 66); /* oklch */ color: oklch(52.3% 0.156 20.3);
Tailwind
colors: {
custom: {
50: '#d07776',
500: '#b23942',
950: '#000000',
},
}SCSS
$custom: #b23942; $custom-light: #d07776; $custom-dark: #000000;
JSON
{
"hex": "#b23942",
"rgb": {
"r": 178,
"g": 57,
"b": 66
},
"hsl": {
"h": 355.537,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.52296,
"c": 0.1563,
"h": 20.3
},
"luminance": 0.12785
}Semantic roles & 50–950 ramp
primary
#B23942
secondary
#82C4C0
accent
#DBD04D
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B