#B12538#B12538
#B12538 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.175 H 19.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #B12538 |
|---|---|
| RGB | rgb(177, 37, 56) |
| HSL | hsl(352, 65%, 42%) |
| HSV | hsv(352, 79%, 69%) |
| CMYK | cmyk(0%, 79.1%, 68.4%, 30.6%) |
| CIE-LAB | lab(39.51, 55.67, 24.92) |
| CIE-LCH | lch(39.51, 60.99, 24.11°) |
| OKLab | oklab(50.03% 0.1646 0.0584) |
| OKLCH | oklch(50.03% 0.175 19.6) |
| XYZ | xyz(19.5090, 10.9588, 4.8286) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 3.32
Rose Red
#BE013C
ΔE00 3.41
Cardinal
#C41E3A
ΔE00 3.53
Rouge
#AB1239
ΔE00 3.68
Brown
#A52A2A
ΔE00 4.82
Cherry (survey)
#CF0234
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12538 #25B19E
analogous
#B1257E #B12538 #B15825
triadic
#B12538 #38B125 #2538B1
tetradic
#B12538 #7EB125 #25B19E #5825B1
square
#B12538 #7EB125 #25B19E #5825B1
split-complementary
#B12538 #25B158 #257EB1
monochromatic
#4C1018 #7E1A28 #B12538 #D63D52 #E16F7F
Accessibility & contrast
On white
6.58
#B12538 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#B12538 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12538
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12538 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12538 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4A38
Deuteranopia (green-blind)
#726834
Tritanopia (blue-blind)
#C3002E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #b12538; /* rgb */ color: rgb(177, 37, 56); /* oklch */ color: oklch(50.0% 0.175 19.6);
Tailwind
colors: {
custom: {
50: '#d06d6e',
500: '#b12538',
950: '#000000',
},
}SCSS
$custom: #b12538; $custom-light: #d06d6e; $custom-dark: #000000;
JSON
{
"hex": "#b12538",
"rgb": {
"r": 177,
"g": 37,
"b": 56
},
"hsl": {
"h": 351.857,
"s": 65.421,
"l": 41.961
},
"oklch": {
"l": 0.50025,
"c": 0.17464,
"h": 19.6
},
"luminance": 0.10956
}Semantic roles & 50–950 ramp
primary
#B12538
secondary
#6AC8BB
accent
#E8D13F
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A