#B12F45#B12F45
#B12F45 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.166 H 15.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #B12F45 |
|---|---|
| RGB | rgb(177, 47, 69) |
| HSL | hsl(350, 58%, 44%) |
| HSV | hsv(350, 73%, 69%) |
| CMYK | cmyk(0%, 73.4%, 61%, 30.6%) |
| CIE-LAB | lab(40.92, 53.17, 18.61) |
| CIE-LCH | lch(40.92, 56.33, 19.29°) |
| OKLab | oklab(51.15% 0.1592 0.0454) |
| OKLCH | oklch(51.15% 0.166 15.9) |
| XYZ | xyz(20.2242, 11.8127, 6.8442) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.58
Rouge
#AB1239
ΔE00 3.95
Ruby
#CA0147
ΔE00 4.62
Cardinal
#C41E3A
ΔE00 4.74
Dusty Red
#B9484E
ΔE00 5.85
Lipstick Red
#C0022F
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12F45 #2FB19B
analogous
#B12F86 #B12F45 #B15A2F
triadic
#B12F45 #45B12F #2F45B1
tetradic
#B12F45 #86B12F #2FB19B #5A2FB1
square
#B12F45 #86B12F #2FB19B #5A2FB1
split-complementary
#B12F45 #2FB15A #2F86B1
monochromatic
#50151F #812232 #B12F45 #D04D63 #DD7E8E
Accessibility & contrast
On white
6.25
#B12F45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B12F45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12F45
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12F45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12F45 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524F45
Deuteranopia (green-blind)
#736A42
Tritanopia (blue-blind)
#C20338
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b12f45; /* rgb */ color: rgb(177, 47, 69); /* oklch */ color: oklch(51.1% 0.166 15.9);
Tailwind
colors: {
custom: {
50: '#cf7278',
500: '#b12f45',
950: '#000000',
},
}SCSS
$custom: #b12f45; $custom-light: #cf7278; $custom-dark: #000000;
JSON
{
"hex": "#b12f45",
"rgb": {
"r": 177,
"g": 47,
"b": 69
},
"hsl": {
"h": 349.846,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.51145,
"c": 0.16558,
"h": 15.9
},
"luminance": 0.1181
}Semantic roles & 50–950 ramp
primary
#B12F45
secondary
#76C5B8
accent
#E1C747
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B