#B12C4E#B12C4E
#B12C4E is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.169 H 10.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B12C4E |
|---|---|
| RGB | rgb(177, 44, 78) |
| HSL | hsl(345, 60%, 43%) |
| HSV | hsv(345, 75%, 69%) |
| CMYK | cmyk(0%, 75.1%, 55.9%, 30.6%) |
| CIE-LAB | lab(40.74, 54.85, 12.72) |
| CIE-LCH | lch(40.74, 56.31, 13.05°) |
| OKLab | oklab(51.08% 0.1661 0.032) |
| OKLCH | oklch(51.08% 0.169 10.9) |
| XYZ | xyz(20.4092, 11.7014, 8.3902) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.90
Purplish Red
#B0054B
ΔE00 3.90
Light Burgundy
#A8415B
ΔE00 4.28
Ruby
#CA0147
ΔE00 4.91
Rouge
#AB1239
ΔE00 5.09
Rose Red
#BE013C
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12C4E #2CB18F
analogous
#B12C90 #B12C4E #B14D2C
triadic
#B12C4E #4EB12C #2C4EB1
tetradic
#B12C4E #90B12C #2CB18F #4D2CB1
square
#B12C4E #90B12C #2CB18F #4D2CB1
split-complementary
#B12C4E #2CB14D #2C90B1
monochromatic
#4F1423 #802038 #B12C4E #D2496C #DE7A93
Accessibility & contrast
On white
6.29
#B12C4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#B12C4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12C4E
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12C4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12C4E | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4F4F
Deuteranopia (green-blind)
#716A4B
Tritanopia (blue-blind)
#C2013A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b12c4e; /* rgb */ color: rgb(177, 44, 78); /* oklch */ color: oklch(51.1% 0.169 10.9);
Tailwind
colors: {
custom: {
50: '#cf717f',
500: '#b12c4e',
950: '#000000',
},
}SCSS
$custom: #b12c4e; $custom-light: #cf717f; $custom-dark: #000000;
JSON
{
"hex": "#b12c4e",
"rgb": {
"r": 177,
"g": 44,
"b": 78
},
"hsl": {
"h": 344.662,
"s": 60.181,
"l": 43.333
},
"oklch": {
"l": 0.51075,
"c": 0.16919,
"h": 10.9
},
"luminance": 0.11699
}Semantic roles & 50–950 ramp
primary
#B12C4E
secondary
#73C6B1
accent
#E3BB44
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C