#B12740#B12740
#B12740 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.173 H 16.5°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B12740 |
|---|---|
| RGB | rgb(177, 39, 64) |
| HSL | hsl(349, 64%, 42%) |
| HSV | hsv(349, 78%, 69%) |
| CMYK | cmyk(0%, 78%, 63.8%, 30.6%) |
| CIE-LAB | lab(39.87, 55.52, 20.37) |
| CIE-LCH | lch(39.87, 59.13, 20.15°) |
| OKLab | oklab(50.33% 0.1658 0.0491) |
| OKLCH | oklch(50.33% 0.173 16.5) |
| XYZ | xyz(19.7845, 11.1713, 5.9640) |
| Luminance | 0.1117 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.73
Rouge
#AB1239
ΔE00 2.85
Cardinal
#C41E3A
ΔE00 4.39
Ruby
#CA0147
ΔE00 4.64
Lipstick Red
#C0022F
ΔE00 5.06
Raspberry (survey)
#B00149
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12740 #27B198
analogous
#B12785 #B12740 #B15327
triadic
#B12740 #40B127 #2740B1
tetradic
#B12740 #85B127 #27B198 #5327B1
square
#B12740 #85B127 #27B198 #5327B1
split-complementary
#B12740 #27B153 #2785B1
monochromatic
#4D111C #7F1C2E #B12740 #D5405B #E07286
Accessibility & contrast
On white
6.49
#B12740 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#B12740 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12740
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12740 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12740 | 1.00 | 6.49 | 3.23 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4C40
Deuteranopia (green-blind)
#72683C
Tritanopia (blue-blind)
#C20032
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b12740; /* rgb */ color: rgb(177, 39, 64); /* oklch */ color: oklch(50.3% 0.173 16.5);
Tailwind
colors: {
custom: {
50: '#d06e74',
500: '#b12740',
950: '#000000',
},
}SCSS
$custom: #b12740; $custom-light: #d06e74; $custom-dark: #000000;
JSON
{
"hex": "#b12740",
"rgb": {
"r": 177,
"g": 39,
"b": 64
},
"hsl": {
"h": 349.13,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.50335,
"c": 0.17289,
"h": 16.5
},
"luminance": 0.11168
}Semantic roles & 50–950 ramp
primary
#B12740
secondary
#6DC7B7
accent
#E7C941
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B