#BA3E7E#BA3E7E
#BA3E7E is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.171 H 352.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3E7E |
|---|---|
| RGB | rgb(186, 62, 126) |
| HSL | hsl(329, 50%, 49%) |
| HSV | hsv(329, 67%, 73%) |
| CMYK | cmyk(0%, 66.7%, 32.3%, 27.1%) |
| CIE-LAB | lab(46.17, 55.52, -9.01) |
| CIE-LCH | lch(46.17, 56.25, 350.79°) |
| OKLab | oklab(55.84% 0.1694 -0.0232) |
| OKLCH | oklch(55.84% 0.171 352.2) |
| XYZ | xyz(25.7396, 15.3935, 21.3504) |
| Luminance | 0.1539 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.60
Magenta (survey)
#C20078
ΔE00 5.27
Light Plum
#9D5783
ΔE00 7.34
Deep Pink
#CB0162
ΔE00 7.78
Dark Pink
#CB416B
ΔE00 7.95
Darkish Pink
#DA467D
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3E7E #3EBA7A
analogous
#B83EBA #BA3E7E #BA3E40
triadic
#BA3E7E #7EBA3E #3E7EBA
tetradic
#BA3E7E #BAB83E #3EBA7A #3E40BA
square
#BA3E7E #BAB83E #3EBA7A #3E40BA
split-complementary
#BA3E7E #40BA3E #3EBAB8
monochromatic
#5E1F40 #8C2F5F #BA3E7E #CD689C #DC96BA
Accessibility & contrast
On white
5.15
#BA3E7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#BA3E7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3E7E
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3E7E | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515F80
Deuteranopia (green-blind)
#74767B
Tritanopia (blue-blind)
#C83659
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ba3e7e; /* rgb */ color: rgb(186, 62, 126); /* oklch */ color: oklch(55.8% 0.171 352.2);
Tailwind
colors: {
custom: {
50: '#d37ca3',
500: '#ba3e7e',
950: '#000000',
},
}SCSS
$custom: #ba3e7e; $custom-light: #d37ca3; $custom-dark: #000000;
JSON
{
"hex": "#ba3e7e",
"rgb": {
"r": 186,
"g": 62,
"b": 126
},
"hsl": {
"h": 329.032,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.55843,
"c": 0.17098,
"h": 352.2
},
"luminance": 0.15391
}Semantic roles & 50–950 ramp
primary
#BA3E7E
secondary
#8CC8A9
accent
#DA924E
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#150A0F
muted
#837C7F