#B12F71#B12F71
#B12F71 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.176 H 354.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B12F71 |
|---|---|
| RGB | rgb(177, 47, 113) |
| HSL | hsl(330, 58%, 44%) |
| HSV | hsv(330, 73%, 69%) |
| CMYK | cmyk(0%, 73.4%, 36.2%, 30.6%) |
| CIE-LAB | lab(42.12, 57.10, -7.24) |
| CIE-LCH | lch(42.12, 57.56, 352.77°) |
| OKLab | oklab(52.42% 0.1751 -0.0184) |
| OKLCH | oklch(52.42% 0.176 354) |
| XYZ | xyz(22.1300, 12.5751, 16.8814) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.69
Mediumvioletred
#C71585
ΔE00 5.08
Deep Magenta
#A0025C
ΔE00 6.60
Deep Pink
#CB0162
ΔE00 6.62
Violet Red
#A50055
ΔE00 6.90
Red Violet
#9E0168
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12F71 #2FB16F
analogous
#B02FB1 #B12F71 #B12F30
triadic
#B12F71 #71B12F #2F71B1
tetradic
#B12F71 #B1B02F #2FB16F #2F30B1
square
#B12F71 #B1B02F #2FB16F #2F30B1
split-complementary
#B12F71 #30B12F #2FB1B0
monochromatic
#501533 #812252 #B12F71 #D04D90 #DD7EAE
Accessibility & contrast
On white
5.98
#B12F71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#B12F71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12F71
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12F71 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#475473
Deuteranopia (green-blind)
#6B6C6E
Tritanopia (blue-blind)
#BF224C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b12f71; /* rgb */ color: rgb(177, 47, 113); /* oklch */ color: oklch(52.4% 0.176 354.0);
Tailwind
colors: {
custom: {
50: '#cd7399',
500: '#b12f71',
950: '#000000',
},
}SCSS
$custom: #b12f71; $custom-light: #cd7399; $custom-dark: #000000;
JSON
{
"hex": "#b12f71",
"rgb": {
"r": 177,
"g": 47,
"b": 113
},
"hsl": {
"h": 329.538,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.52421,
"c": 0.17604,
"h": 354
},
"luminance": 0.12572
}Semantic roles & 50–950 ramp
primary
#B12F71
secondary
#76C59D
accent
#E19347
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E