#B12E45#B12E45
#B12E45 is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.167 H 15.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B12E45 |
|---|---|
| RGB | rgb(177, 46, 69) |
| HSL | hsl(349, 59%, 44%) |
| HSV | hsv(349, 74%, 69%) |
| CMYK | cmyk(0%, 74%, 61%, 30.6%) |
| CIE-LAB | lab(40.79, 53.52, 18.44) |
| CIE-LCH | lch(40.79, 56.61, 19.01°) |
| OKLab | oklab(51.05% 0.1604 0.0451) |
| OKLCH | oklch(51.05% 0.167 15.7) |
| XYZ | xyz(20.1847, 11.7337, 6.8310) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.50
Rouge
#AB1239
ΔE00 3.82
Ruby
#CA0147
ΔE00 4.55
Cardinal
#C41E3A
ΔE00 4.83
Raspberry (survey)
#B00149
ΔE00 5.97
Lipstick Red
#C0022F
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12E45 #2EB19A
analogous
#B12E86 #B12E45 #B1582E
triadic
#B12E45 #45B12E #2E45B1
tetradic
#B12E45 #86B12E #2EB19A #582EB1
square
#B12E45 #86B12E #2EB19A #582EB1
split-complementary
#B12E45 #2EB158 #2E86B1
monochromatic
#50151F #802132 #B12E45 #D04C63 #DD7C8D
Accessibility & contrast
On white
6.28
#B12E45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#B12E45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12E45
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12E45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12E45 | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524F45
Deuteranopia (green-blind)
#736A41
Tritanopia (blue-blind)
#C20038
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b12e45; /* rgb */ color: rgb(177, 46, 69); /* oklch */ color: oklch(51.0% 0.167 15.7);
Tailwind
colors: {
custom: {
50: '#cf7178',
500: '#b12e45',
950: '#000000',
},
}SCSS
$custom: #b12e45; $custom-light: #cf7178; $custom-dark: #000000;
JSON
{
"hex": "#b12e45",
"rgb": {
"r": 177,
"g": 46,
"b": 69
},
"hsl": {
"h": 349.466,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.5105,
"c": 0.16656,
"h": 15.7
},
"luminance": 0.11731
}Semantic roles & 50–950 ramp
primary
#B12E45
secondary
#75C6B7
accent
#E2C746
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B