#B12E4C#B12E4C
#B12E4C is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.2% C 0.167 H 12.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #B12E4C |
|---|---|
| RGB | rgb(177, 46, 76) |
| HSL | hsl(346, 59%, 44%) |
| HSV | hsv(346, 74%, 69%) |
| CMYK | cmyk(0%, 74%, 57.1%, 30.6%) |
| CIE-LAB | lab(40.94, 54.02, 14.25) |
| CIE-LCH | lch(40.94, 55.86, 14.78°) |
| OKLab | oklab(51.21% 0.1631 0.0356) |
| OKLCH | oklch(51.21% 0.167 12.3) |
| XYZ | xyz(20.4149, 11.8258, 8.0437) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 4.52
Light Burgundy
#A8415B
ΔE00 4.58
Purplish Red
#B0054B
ΔE00 4.60
Ruby
#CA0147
ΔE00 4.64
Rose Red
#BE013C
ΔE00 4.67
Rouge
#AB1239
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12E4C #2EB193
analogous
#B12E8D #B12E4C #B1522E
triadic
#B12E4C #4CB12E #2E4CB1
tetradic
#B12E4C #8DB12E #2EB193 #522EB1
square
#B12E4C #8DB12E #2EB193 #522EB1
split-complementary
#B12E4C #2EB152 #2E8DB1
monochromatic
#501522 #802137 #B12E4C #D04C6A #DD7C92
Accessibility & contrast
On white
6.24
#B12E4C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#B12E4C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12E4C
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12E4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12E4C | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504F4C
Deuteranopia (green-blind)
#726A49
Tritanopia (blue-blind)
#C2053A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b12e4c; /* rgb */ color: rgb(177, 46, 76); /* oklch */ color: oklch(51.2% 0.167 12.3);
Tailwind
colors: {
custom: {
50: '#cf727d',
500: '#b12e4c',
950: '#000000',
},
}SCSS
$custom: #b12e4c; $custom-light: #cf727d; $custom-dark: #000000;
JSON
{
"hex": "#b12e4c",
"rgb": {
"r": 177,
"g": 46,
"b": 76
},
"hsl": {
"h": 346.26,
"s": 58.744,
"l": 43.725
},
"oklch": {
"l": 0.51208,
"c": 0.16697,
"h": 12.3
},
"luminance": 0.11823
}Semantic roles & 50–950 ramp
primary
#B12E4C
secondary
#75C6B3
accent
#E2BE46
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B