#B12540#B12540
#B12540 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.2% C 0.175 H 16.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B12540 |
|---|---|
| RGB | rgb(177, 37, 64) |
| HSL | hsl(348, 65%, 42%) |
| HSV | hsv(348, 79%, 69%) |
| CMYK | cmyk(0%, 79.1%, 63.8%, 30.6%) |
| CIE-LAB | lab(39.65, 56.12, 20.09) |
| CIE-LCH | lch(39.65, 59.61, 19.70°) |
| OKLab | oklab(50.18% 0.1677 0.0484) |
| OKLCH | oklch(50.18% 0.175 16.1) |
| XYZ | xyz(19.7206, 11.0434, 5.9427) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.61
Rose Red
#BE013C
ΔE00 2.62
Ruby
#CA0147
ΔE00 4.56
Cardinal
#C41E3A
ΔE00 4.59
Lipstick Red
#C0022F
ΔE00 5.20
Raspberry (survey)
#B00149
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12540 #25B196
analogous
#B12586 #B12540 #B15025
triadic
#B12540 #40B125 #2540B1
tetradic
#B12540 #86B125 #25B196 #5025B1
square
#B12540 #86B125 #25B196 #5025B1
split-complementary
#B12540 #25B150 #2586B1
monochromatic
#4C101B #7E1A2E #B12540 #D63D5A #E16F85
Accessibility & contrast
On white
6.55
#B12540 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#B12540 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12540
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12540 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4B40
Deuteranopia (green-blind)
#71683C
Tritanopia (blue-blind)
#C20031
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b12540; /* rgb */ color: rgb(177, 37, 64); /* oklch */ color: oklch(50.2% 0.175 16.1);
Tailwind
colors: {
custom: {
50: '#d06e74',
500: '#b12540',
950: '#000000',
},
}SCSS
$custom: #b12540; $custom-light: #d06e74; $custom-dark: #000000;
JSON
{
"hex": "#b12540",
"rgb": {
"r": 177,
"g": 37,
"b": 64
},
"hsl": {
"h": 348.429,
"s": 65.421,
"l": 41.961
},
"oklch": {
"l": 0.50177,
"c": 0.17457,
"h": 16.1
},
"luminance": 0.1104
}Semantic roles & 50–950 ramp
primary
#B12540
secondary
#6AC8B6
accent
#E8C83F
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B