#B12E42#B12E42
#B12E42 is a mid, vivid red. Relative luminance 0.117; OKLCH L 51.0% C 0.167 H 17.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B12E42 |
|---|---|
| RGB | rgb(177, 46, 66) |
| HSL | hsl(351, 59%, 44%) |
| HSV | hsv(351, 74%, 69%) |
| CMYK | cmyk(0%, 74%, 62.7%, 30.6%) |
| CIE-LAB | lab(40.73, 53.33, 20.24) |
| CIE-LCH | lch(40.73, 57.04, 20.78°) |
| OKLab | oklab(50.99% 0.1592 0.049) |
| OKLCH | oklch(50.99% 0.167 17.1) |
| XYZ | xyz(20.0939, 11.6974, 6.3530) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.38
Rouge
#AB1239
ΔE00 3.81
Cardinal
#C41E3A
ΔE00 4.18
Ruby
#CA0147
ΔE00 4.86
Lipstick Red
#C0022F
ΔE00 5.20
Dusty Red
#B9484E
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12E42 #2EB19D
analogous
#B12E83 #B12E42 #B15B2E
triadic
#B12E42 #42B12E #2E42B1
tetradic
#B12E42 #83B12E #2EB19D #5B2EB1
square
#B12E42 #83B12E #2EB19D #5B2EB1
split-complementary
#B12E42 #2EB15B #2E83B1
monochromatic
#50151E #802130 #B12E42 #D04C60 #DD7C8B
Accessibility & contrast
On white
6.29
#B12E42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#B12E42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12E42
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12E42 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524F42
Deuteranopia (green-blind)
#736A3E
Tritanopia (blue-blind)
#C20036
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b12e42; /* rgb */ color: rgb(177, 46, 66); /* oklch */ color: oklch(51.0% 0.167 17.1);
Tailwind
colors: {
custom: {
50: '#cf7176',
500: '#b12e42',
950: '#000000',
},
}SCSS
$custom: #b12e42; $custom-light: #cf7176; $custom-dark: #000000;
JSON
{
"hex": "#b12e42",
"rgb": {
"r": 177,
"g": 46,
"b": 66
},
"hsl": {
"h": 350.84,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.50988,
"c": 0.16652,
"h": 17.1
},
"luminance": 0.11694
}Semantic roles & 50–950 ramp
primary
#B12E42
secondary
#75C6B9
accent
#E2CA46
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B