#B12A7E#B12A7E
#B12A7E is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.188 H 347.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #B12A7E |
|---|---|
| RGB | rgb(177, 42, 126) |
| HSL | hsl(323, 62%, 43%) |
| HSV | hsv(323, 76%, 69%) |
| CMYK | cmyk(0%, 76.3%, 28.8%, 30.6%) |
| CIE-LAB | lab(42.02, 60.26, -15.43) |
| CIE-LCH | lch(42.02, 62.20, 345.63°) |
| OKLab | oklab(52.51% 0.1836 -0.0407) |
| OKLCH | oklch(52.51% 0.188 347.5) |
| XYZ | xyz(22.7264, 12.5120, 20.9528) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 3.66
Mediumvioletred
#C71585
ΔE00 3.78
Red Violet
#9E0168
ΔE00 6.47
Deep Magenta
#A0025C
ΔE00 7.67
Warm Purple
#952E8F
ΔE00 8.18
Dark Fuchsia
#9D0759
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B12A7E #2AB15D
analogous
#A12AB1 #B12A7E #B12A3A
triadic
#B12A7E #7EB12A #2A7EB1
tetradic
#B12A7E #B1A12A #2AB15D #2A3AB1
square
#B12A7E #B1A12A #2AB15D #2A3AB1
split-complementary
#B12A7E #3AB12A #2AB1A1
monochromatic
#4E1338 #801E5B #B12A7E #D3459D #DF77B7
Accessibility & contrast
On white
6.00
#B12A7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#B12A7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B12A7E
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B12A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B12A7E | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E5480
Deuteranopia (green-blind)
#666C7B
Tritanopia (blue-blind)
#BE2451
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b12a7e; /* rgb */ color: rgb(177, 42, 126); /* oklch */ color: oklch(52.5% 0.188 347.5);
Tailwind
colors: {
custom: {
50: '#cd71a3',
500: '#b12a7e',
950: '#000000',
},
}SCSS
$custom: #b12a7e; $custom-light: #cd71a3; $custom-dark: #000000;
JSON
{
"hex": "#b12a7e",
"rgb": {
"r": 177,
"g": 42,
"b": 126
},
"hsl": {
"h": 322.667,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.52508,
"c": 0.18802,
"h": 347.5
},
"luminance": 0.12509
}Semantic roles & 50–950 ramp
primary
#B12A7E
secondary
#70C691
accent
#E58043
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F