#B23142#B23142
#B23142 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.5% C 0.165 H 18.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B23142 |
|---|---|
| RGB | rgb(178, 49, 66) |
| HSL | hsl(352, 57%, 45%) |
| HSV | hsv(352, 72%, 70%) |
| CMYK | cmyk(0%, 72.5%, 62.9%, 30.2%) |
| CIE-LAB | lab(41.31, 52.56, 21.03) |
| CIE-LCH | lch(41.31, 56.61, 21.80°) |
| OKLab | oklab(51.45% 0.1566 0.0508) |
| OKLCH | oklch(51.45% 0.165 18) |
| XYZ | xyz(20.4439, 12.0579, 6.4041) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.75
Cardinal
#C41E3A
ΔE00 3.80
Rouge
#AB1239
ΔE00 4.47
Lipstick Red
#C0022F
ΔE00 5.01
Ruby
#CA0147
ΔE00 5.10
Dusty Red
#B9484E
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23142 #31B2A1
analogous
#B23183 #B23142 #B26131
triadic
#B23142 #42B231 #3142B2
tetradic
#B23142 #83B231 #31B2A1 #6131B2
square
#B23142 #83B231 #31B2A1 #6131B2
split-complementary
#B23142 #31B261 #3183B2
monochromatic
#52171E #822430 #B23142 #CF5162 #DC818D
Accessibility & contrast
On white
6.16
#B23142 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#B23142 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23142
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23142 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545042
Deuteranopia (green-blind)
#756B3E
Tritanopia (blue-blind)
#C30638
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #b23142; /* rgb */ color: rgb(178, 49, 66); /* oklch */ color: oklch(51.5% 0.165 18.0);
Tailwind
colors: {
custom: {
50: '#d07376',
500: '#b23142',
950: '#000000',
},
}SCSS
$custom: #b23142; $custom-light: #d07376; $custom-dark: #000000;
JSON
{
"hex": "#b23142",
"rgb": {
"r": 178,
"g": 49,
"b": 66
},
"hsl": {
"h": 352.093,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.51451,
"c": 0.16459,
"h": 18
},
"luminance": 0.12055
}Semantic roles & 50–950 ramp
primary
#B23142
secondary
#79C5BB
accent
#E0CC48
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B