#BA3E91#BA3E91
#BA3E91 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.6% C 0.182 H 343.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3E91 |
|---|---|
| RGB | rgb(186, 62, 145) |
| HSL | hsl(320, 50%, 49%) |
| HSV | hsv(320, 67%, 73%) |
| CMYK | cmyk(0%, 66.7%, 22%, 27.1%) |
| CIE-LAB | lab(46.88, 57.97, -19.41) |
| CIE-LCH | lch(46.88, 61.14, 341.49°) |
| OKLab | oklab(56.6% 0.1741 -0.0518) |
| OKLCH | oklch(56.6% 0.182 343.4) |
| XYZ | xyz(27.0840, 15.9313, 28.4312) |
| Luminance | 0.1593 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.65
Ugly Purple
#A442A0
ΔE00 6.43
Magenta (survey)
#C20078
ΔE00 6.80
Purpley Pink
#C83CB9
ΔE00 7.37
Purpleish
#98568D
ΔE00 7.56
Light Plum
#9D5783
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3E91 #3EBA67
analogous
#A53EBA #BA3E91 #BA3E53
triadic
#BA3E91 #91BA3E #3E91BA
tetradic
#BA3E91 #BAA53E #3EBA67 #3E53BA
square
#BA3E91 #BAA53E #3EBA67 #3E53BA
split-complementary
#BA3E91 #53BA3E #3EBAA5
monochromatic
#5E1F49 #8C2F6D #BA3E91 #CD68AC #DC96C5
Accessibility & contrast
On white
5.02
#BA3E91 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#BA3E91 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3E91
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3E91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3E91 | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#496293
Deuteranopia (green-blind)
#6E778E
Tritanopia (blue-blind)
#C63E62
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ba3e91; /* rgb */ color: rgb(186, 62, 145); /* oklch */ color: oklch(56.6% 0.182 343.4);
Tailwind
colors: {
custom: {
50: '#d27cb1',
500: '#ba3e91',
950: '#000000',
},
}SCSS
$custom: #ba3e91; $custom-light: #d27cb1; $custom-dark: #000000;
JSON
{
"hex": "#ba3e91",
"rgb": {
"r": 186,
"g": 62,
"b": 145
},
"hsl": {
"h": 319.839,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.56603,
"c": 0.18167,
"h": 343.4
},
"luminance": 0.15929
}Semantic roles & 50–950 ramp
primary
#BA3E91
secondary
#8CC8A0
accent
#DA7C4E
background
#FDF7FA
surface
#FAEEF5
border
#D3C9CF
text
#150A10
muted
#837C7F