#B931A2#B931A2
#B931A2 is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 56.0% C 0.208 H 335.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B931A2 |
|---|---|
| RGB | rgb(185, 49, 162) |
| HSL | hsl(310, 58%, 46%) |
| HSV | hsv(310, 74%, 73%) |
| CMYK | cmyk(0%, 73.5%, 12.4%, 27.5%) |
| CIE-LAB | lab(45.80, 64.83, -31.28) |
| CIE-LCH | lch(45.80, 71.98, 334.24°) |
| OKLab | oklab(56.03% 0.1899 -0.0853) |
| OKLCH | oklch(56.03% 0.208 335.8) |
| XYZ | xyz(27.6279, 15.1220, 35.6392) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.95
Medium Purple
#9E43A2
ΔE00 5.19
Purpley Pink
#C83CB9
ΔE00 5.22
Barney
#AC1DB8
ΔE00 6.40
Mediumvioletred
#C71585
ΔE00 6.83
Warm Purple
#952E8F
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B931A2 #31B948
analogous
#8C31B9 #B931A2 #B9315E
triadic
#B931A2 #A2B931 #31A2B9
tetradic
#B931A2 #B98C31 #31B948 #315EB9
square
#B931A2 #B98C31 #31B948 #315EB9
split-complementary
#B931A2 #5EB931 #31B98C
monochromatic
#58174D #892478 #B931A2 #D255BD #DF86D0
Accessibility & contrast
On white
5.22
#B931A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#B931A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B931A2
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B931A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B931A2 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#325FA5
Deuteranopia (green-blind)
#62749F
Tritanopia (blue-blind)
#C23B66
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #b931a2; /* rgb */ color: rgb(185, 49, 162); /* oklch */ color: oklch(56.0% 0.208 335.8);
Tailwind
colors: {
custom: {
50: '#d277be',
500: '#b931a2',
950: '#000000',
},
}SCSS
$custom: #b931a2; $custom-light: #d277be; $custom-dark: #000000;
JSON
{
"hex": "#b931a2",
"rgb": {
"r": 185,
"g": 49,
"b": 162
},
"hsl": {
"h": 310.147,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.56031,
"c": 0.20816,
"h": 335.8
},
"luminance": 0.1512
}Semantic roles & 50–950 ramp
primary
#B931A2
secondary
#7DC88A
accent
#E16146
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81