#BA3E71#BA3E71
#BA3E71 is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.4% C 0.165 H 358.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3E71 |
|---|---|
| RGB | rgb(186, 62, 113) |
| HSL | hsl(335, 50%, 49%) |
| HSV | hsv(335, 67%, 73%) |
| CMYK | cmyk(0%, 66.7%, 39.2%, 27.1%) |
| CIE-LAB | lab(45.74, 54.03, -1.70) |
| CIE-LCH | lch(45.74, 54.06, 358.20°) |
| OKLab | oklab(55.39% 0.1654 -0.0038) |
| OKLCH | oklch(55.39% 0.165 358.7) |
| XYZ | xyz(24.9546, 15.0795, 17.2161) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.26
Deep Pink
#CB0162
ΔE00 5.64
Light Burgundy
#A8415B
ΔE00 6.20
Magenta (survey)
#C20078
ΔE00 6.36
Deep Rose
#C74767
ΔE00 6.41
Dark Hot Pink
#D90166
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3E71 #3EBA87
analogous
#BA3EAF #BA3E71 #BA493E
triadic
#BA3E71 #71BA3E #3E71BA
tetradic
#BA3E71 #AFBA3E #3EBA87 #493EBA
square
#BA3E71 #AFBA3E #3EBA87 #493EBA
split-complementary
#BA3E71 #3EBA49 #3EAFBA
monochromatic
#5E1F39 #8C2F55 #BA3E71 #CD6892 #DC96B3
Accessibility & contrast
On white
5.23
#BA3E71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#BA3E71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3E71
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3E71 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555D72
Deuteranopia (green-blind)
#77756E
Tritanopia (blue-blind)
#C93153
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #ba3e71; /* rgb */ color: rgb(186, 62, 113); /* oklch */ color: oklch(55.4% 0.165 358.7);
Tailwind
colors: {
custom: {
50: '#d37b99',
500: '#ba3e71',
950: '#000000',
},
}SCSS
$custom: #ba3e71; $custom-light: #d37b99; $custom-dark: #000000;
JSON
{
"hex": "#ba3e71",
"rgb": {
"r": 186,
"g": 62,
"b": 113
},
"hsl": {
"h": 335.323,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.55389,
"c": 0.16541,
"h": 358.7
},
"luminance": 0.15077
}Semantic roles & 50–950 ramp
primary
#BA3E71
secondary
#8CC8AF
accent
#DAA04E
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E