#BA3E7F#BA3E7F
#BA3E7F is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.9% C 0.171 H 351.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3E7F |
|---|---|
| RGB | rgb(186, 62, 127) |
| HSL | hsl(329, 50%, 49%) |
| HSV | hsv(329, 67%, 73%) |
| CMYK | cmyk(0%, 66.7%, 31.7%, 27.1%) |
| CIE-LAB | lab(46.20, 55.64, -9.56) |
| CIE-LCH | lch(46.20, 56.46, 350.25°) |
| OKLab | oklab(55.88% 0.1697 -0.0247) |
| OKLCH | oklch(55.88% 0.171 351.7) |
| XYZ | xyz(25.8044, 15.4195, 21.6919) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.49
Magenta (survey)
#C20078
ΔE00 5.27
Light Plum
#9D5783
ΔE00 7.29
Deep Pink
#CB0162
ΔE00 7.97
Dark Pink
#CB416B
ΔE00 8.16
Darkish Pink
#DA467D
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3E7F #3EBA79
analogous
#B73EBA #BA3E7F #BA3E41
triadic
#BA3E7F #7FBA3E #3E7FBA
tetradic
#BA3E7F #BAB73E #3EBA79 #3E41BA
square
#BA3E7F #BAB73E #3EBA79 #3E41BA
split-complementary
#BA3E7F #41BA3E #3EBAB7
monochromatic
#5E1F40 #8C2F60 #BA3E7F #CD689D #DC96BB
Accessibility & contrast
On white
5.14
#BA3E7F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#BA3E7F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3E7F
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3E7F | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515F81
Deuteranopia (green-blind)
#74767C
Tritanopia (blue-blind)
#C83759
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ba3e7f; /* rgb */ color: rgb(186, 62, 127); /* oklch */ color: oklch(55.9% 0.171 351.7);
Tailwind
colors: {
custom: {
50: '#d37ca4',
500: '#ba3e7f',
950: '#000000',
},
}SCSS
$custom: #ba3e7f; $custom-light: #d37ca4; $custom-dark: #000000;
JSON
{
"hex": "#ba3e7f",
"rgb": {
"r": 186,
"g": 62,
"b": 127
},
"hsl": {
"h": 328.548,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.5588,
"c": 0.17148,
"h": 351.7
},
"luminance": 0.15417
}Semantic roles & 50–950 ramp
primary
#BA3E7F
secondary
#8CC8A8
accent
#DA914E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F