#B12747#B12747
#B12747 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.173 H 13.3°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B12747 |
|---|---|
| RGB | rgb(177, 39, 71) |
| HSL | hsl(346, 64%, 42%) |
| HSV | hsv(346, 78%, 69%) |
| CMYK | cmyk(0%, 78%, 59.9%, 30.6%) |
| CIE-LAB | lab(40.01, 55.96, 16.14) |
| CIE-LCH | lch(40.01, 58.24, 16.09°) |
| OKLab | oklab(50.49% 0.1686 0.0398) |
| OKLCH | oklch(50.49% 0.173 13.3) |
| XYZ | xyz(19.9963, 11.2560, 7.0797) |
| Luminance | 0.1125 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.49
Rose Red
#BE013C
ΔE00 3.66
Raspberry (survey)
#B00149
ΔE00 4.21
Ruby
#CA0147
ΔE00 4.34
Purplish Red
#B0054B
ΔE00 4.42
Light Burgundy
#A8415B
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12747 #27B191
analogous
#B1278C #B12747 #B14C27
triadic
#B12747 #47B127 #2747B1
tetradic
#B12747 #8CB127 #27B191 #4C27B1
square
#B12747 #8CB127 #27B191 #4C27B1
split-complementary
#B12747 #27B14C #278CB1
monochromatic
#4D111F #7F1C33 #B12747 #D54063 #E0728C
Accessibility & contrast
On white
6.46
#B12747 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#B12747 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12747
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12747 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12747 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4C47
Deuteranopia (green-blind)
#716843
Tritanopia (blue-blind)
#C20035
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b12747; /* rgb */ color: rgb(177, 39, 71); /* oklch */ color: oklch(50.5% 0.173 13.3);
Tailwind
colors: {
custom: {
50: '#cf6e79',
500: '#b12747',
950: '#000000',
},
}SCSS
$custom: #b12747; $custom-light: #cf6e79; $custom-dark: #000000;
JSON
{
"hex": "#b12747",
"rgb": {
"r": 177,
"g": 39,
"b": 71
},
"hsl": {
"h": 346.087,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.50485,
"c": 0.17319,
"h": 13.3
},
"luminance": 0.11253
}Semantic roles & 50–950 ramp
primary
#B12747
secondary
#6DC7B2
accent
#E7C041
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B