#B12E48#B12E48
#B12E48 is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.167 H 14.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B12E48 |
|---|---|
| RGB | rgb(177, 46, 72) |
| HSL | hsl(348, 59%, 44%) |
| HSV | hsv(348, 74%, 69%) |
| CMYK | cmyk(0%, 74%, 59.3%, 30.6%) |
| CIE-LAB | lab(40.85, 53.73, 16.64) |
| CIE-LCH | lch(40.85, 56.25, 17.21°) |
| OKLab | oklab(51.12% 0.1616 0.0411) |
| OKLCH | oklch(51.12% 0.167 14.3) |
| XYZ | xyz(20.2802, 11.7719, 7.3340) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.88
Rouge
#AB1239
ΔE00 4.07
Ruby
#CA0147
ΔE00 4.44
Raspberry (survey)
#B00149
ΔE00 5.27
Purplish Red
#B0054B
ΔE00 5.44
Light Burgundy
#A8415B
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12E48 #2EB197
analogous
#B12E89 #B12E48 #B1562E
triadic
#B12E48 #48B12E #2E48B1
tetradic
#B12E48 #89B12E #2EB197 #562EB1
square
#B12E48 #89B12E #2EB197 #562EB1
split-complementary
#B12E48 #2EB156 #2E89B1
monochromatic
#501520 #802134 #B12E48 #D04C66 #DD7C90
Accessibility & contrast
On white
6.26
#B12E48 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#B12E48 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12E48
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12E48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12E48 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514F48
Deuteranopia (green-blind)
#736A45
Tritanopia (blue-blind)
#C20239
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b12e48; /* rgb */ color: rgb(177, 46, 72); /* oklch */ color: oklch(51.1% 0.167 14.3);
Tailwind
colors: {
custom: {
50: '#cf717a',
500: '#b12e48',
950: '#000000',
},
}SCSS
$custom: #b12e48; $custom-light: #cf717a; $custom-dark: #000000;
JSON
{
"hex": "#b12e48",
"rgb": {
"r": 177,
"g": 46,
"b": 72
},
"hsl": {
"h": 348.092,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.51116,
"c": 0.16668,
"h": 14.3
},
"luminance": 0.11769
}Semantic roles & 50–950 ramp
primary
#B12E48
secondary
#75C6B6
accent
#E2C346
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B