#B12847#B12847
#B12847 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.6% C 0.172 H 13.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B12847 |
|---|---|
| RGB | rgb(177, 40, 71) |
| HSL | hsl(346, 63%, 43%) |
| HSV | hsv(346, 77%, 69%) |
| CMYK | cmyk(0%, 77.4%, 59.9%, 30.6%) |
| CIE-LAB | lab(40.12, 55.65, 16.29) |
| CIE-LCH | lch(40.12, 57.99, 16.32°) |
| OKLab | oklab(50.57% 0.1676 0.0402) |
| OKLCH | oklch(50.57% 0.172 13.5) |
| XYZ | xyz(20.0296, 11.3226, 7.0908) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.53
Rose Red
#BE013C
ΔE00 3.64
Ruby
#CA0147
ΔE00 4.33
Raspberry (survey)
#B00149
ΔE00 4.38
Purplish Red
#B0054B
ΔE00 4.59
Light Burgundy
#A8415B
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12847 #28B192
analogous
#B1288C #B12847 #B14D28
triadic
#B12847 #47B128 #2847B1
tetradic
#B12847 #8CB128 #28B192 #4D28B1
square
#B12847 #8CB128 #28B192 #4D28B1
split-complementary
#B12847 #28B14D #288CB1
monochromatic
#4D111F #7F1D33 #B12847 #D44263 #E0748C
Accessibility & contrast
On white
6.43
#B12847 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#B12847 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12847
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12847 | 1.00 | 6.43 | 3.26 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4D47
Deuteranopia (green-blind)
#716943
Tritanopia (blue-blind)
#C20035
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12847; /* rgb */ color: rgb(177, 40, 71); /* oklch */ color: oklch(50.6% 0.172 13.5);
Tailwind
colors: {
custom: {
50: '#cf6f79',
500: '#b12847',
950: '#000000',
},
}SCSS
$custom: #b12847; $custom-light: #cf6f79; $custom-dark: #000000;
JSON
{
"hex": "#b12847",
"rgb": {
"r": 177,
"g": 40,
"b": 71
},
"hsl": {
"h": 346.423,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.50566,
"c": 0.1723,
"h": 13.5
},
"luminance": 0.1132
}Semantic roles & 50–950 ramp
primary
#B12847
secondary
#6EC7B3
accent
#E6C142
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B