#B12A4E#B12A4E
#B12A4E is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.171 H 10.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #B12A4E |
|---|---|
| RGB | rgb(177, 42, 78) |
| HSL | hsl(344, 62%, 43%) |
| HSV | hsv(344, 76%, 69%) |
| CMYK | cmyk(0%, 76.3%, 55.9%, 30.6%) |
| CIE-LAB | lab(40.50, 55.51, 12.39) |
| CIE-LCH | lch(40.50, 56.88, 12.58°) |
| OKLab | oklab(50.9% 0.1683 0.0312) |
| OKLCH | oklch(50.9% 0.171 10.5) |
| XYZ | xyz(20.3365, 11.5560, 8.3659) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.55
Raspberry (survey)
#B00149
ΔE00 3.56
Light Burgundy
#A8415B
ΔE00 4.39
Ruby
#CA0147
ΔE00 4.99
Rouge
#AB1239
ΔE00 5.08
Rose Red
#BE013C
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12A4E #2AB18D
analogous
#B12A91 #B12A4E #B1492A
triadic
#B12A4E #4EB12A #2A4EB1
tetradic
#B12A4E #91B12A #2AB18D #492AB1
square
#B12A4E #91B12A #2AB18D #492AB1
split-complementary
#B12A4E #2AB149 #2A91B1
monochromatic
#4E1322 #801E38 #B12A4E #D3456B #DF7792
Accessibility & contrast
On white
6.34
#B12A4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#B12A4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12A4E
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12A4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12A4E | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4E4F
Deuteranopia (green-blind)
#71694B
Tritanopia (blue-blind)
#C20039
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b12a4e; /* rgb */ color: rgb(177, 42, 78); /* oklch */ color: oklch(50.9% 0.171 10.5);
Tailwind
colors: {
custom: {
50: '#cf707f',
500: '#b12a4e',
950: '#000000',
},
}SCSS
$custom: #b12a4e; $custom-light: #cf707f; $custom-dark: #000000;
JSON
{
"hex": "#b12a4e",
"rgb": {
"r": 177,
"g": 42,
"b": 78
},
"hsl": {
"h": 344,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.509,
"c": 0.17113,
"h": 10.5
},
"luminance": 0.11553
}Semantic roles & 50–950 ramp
primary
#B12A4E
secondary
#70C6AF
accent
#E5BA43
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C