#B23240#B23240
#B23240 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.5% C 0.164 H 19.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B23240 |
|---|---|
| RGB | rgb(178, 50, 64) |
| HSL | hsl(353, 56%, 45%) |
| HSV | hsv(353, 72%, 70%) |
| CMYK | cmyk(0%, 71.9%, 64%, 30.2%) |
| CIE-LAB | lab(41.41, 52.07, 22.39) |
| CIE-LCH | lch(41.41, 56.68, 23.27°) |
| OKLab | oklab(51.51% 0.1546 0.0537) |
| OKLCH | oklch(51.51% 0.164 19.1) |
| XYZ | xyz(20.4282, 12.1193, 6.1131) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.50
Rose Red
#BE013C
ΔE00 4.10
Lipstick Red
#C0022F
ΔE00 4.61
Dull Red
#BB3F3F
ΔE00 4.67
Rouge
#AB1239
ΔE00 4.87
Dusty Red
#B9484E
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23240 #32B2A4
analogous
#B23280 #B23240 #B26432
triadic
#B23240 #40B232 #3240B2
tetradic
#B23240 #80B232 #32B2A4 #6432B2
square
#B23240 #80B232 #32B2A4 #6432B2
split-complementary
#B23240 #32B264 #3280B2
monochromatic
#52171E #82252F #B23240 #CF5360 #DC828C
Accessibility & contrast
On white
6.13
#B23240 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#B23240 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23240
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23240 | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555040
Deuteranopia (green-blind)
#756C3C
Tritanopia (blue-blind)
#C30838
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #b23240; /* rgb */ color: rgb(178, 50, 64); /* oklch */ color: oklch(51.5% 0.164 19.1);
Tailwind
colors: {
custom: {
50: '#d07374',
500: '#b23240',
950: '#000000',
},
}SCSS
$custom: #b23240; $custom-light: #d07374; $custom-dark: #000000;
JSON
{
"hex": "#b23240",
"rgb": {
"r": 178,
"g": 50,
"b": 64
},
"hsl": {
"h": 353.438,
"s": 56.14,
"l": 44.706
},
"oklch": {
"l": 0.51511,
"c": 0.16364,
"h": 19.1
},
"luminance": 0.12116
}Semantic roles & 50–950 ramp
primary
#B23240
secondary
#7BC5BD
accent
#DFCF48
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B