#B12E40#B12E40
#B12E40 is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.167 H 18.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #B12E40 |
|---|---|
| RGB | rgb(177, 46, 64) |
| HSL | hsl(352, 59%, 44%) |
| HSV | hsv(352, 74%, 69%) |
| CMYK | cmyk(0%, 74%, 63.8%, 30.6%) |
| CIE-LAB | lab(40.69, 53.20, 21.44) |
| CIE-LCH | lch(40.69, 57.36, 21.95°) |
| OKLab | oklab(50.95% 0.1584 0.0515) |
| OKLCH | oklch(50.95% 0.167 18) |
| XYZ | xyz(20.0360, 11.6742, 6.0478) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.47
Cardinal
#C41E3A
ΔE00 3.83
Rouge
#AB1239
ΔE00 3.95
Lipstick Red
#C0022F
ΔE00 4.73
Ruby
#CA0147
ΔE00 5.17
Dull Red
#BB3F3F
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12E40 #2EB19F
analogous
#B12E81 #B12E40 #B15D2E
triadic
#B12E40 #40B12E #2E40B1
tetradic
#B12E40 #81B12E #2EB19F #5D2EB1
square
#B12E40 #81B12E #2EB19F #5D2EB1
split-complementary
#B12E40 #2EB15D #2E81B1
monochromatic
#50151D #80212E #B12E40 #D04C5E #DD7C8A
Accessibility & contrast
On white
6.30
#B12E40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#B12E40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12E40
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12E40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12E40 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524E40
Deuteranopia (green-blind)
#746A3C
Tritanopia (blue-blind)
#C20036
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b12e40; /* rgb */ color: rgb(177, 46, 64); /* oklch */ color: oklch(50.9% 0.167 18.0);
Tailwind
colors: {
custom: {
50: '#d07174',
500: '#b12e40',
950: '#000000',
},
}SCSS
$custom: #b12e40; $custom-light: #d07174; $custom-dark: #000000;
JSON
{
"hex": "#b12e40",
"rgb": {
"r": 177,
"g": 46,
"b": 64
},
"hsl": {
"h": 351.756,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.50948,
"c": 0.16653,
"h": 18
},
"luminance": 0.11671
}Semantic roles & 50–950 ramp
primary
#B12E40
secondary
#75C6BB
accent
#E2CC46
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B