#BA3E8E#BA3E8E
#BA3E8E is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.5% C 0.180 H 344.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3E8E |
|---|---|
| RGB | rgb(186, 62, 142) |
| HSL | hsl(321, 50%, 49%) |
| HSV | hsv(321, 67%, 73%) |
| CMYK | cmyk(0%, 66.7%, 23.7%, 27.1%) |
| CIE-LAB | lab(46.76, 57.56, -17.79) |
| CIE-LCH | lch(46.76, 60.25, 342.83°) |
| OKLab | oklab(56.48% 0.1735 -0.0473) |
| OKLCH | oklch(56.48% 0.18 344.7) |
| XYZ | xyz(26.8558, 15.8400, 27.2290) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.37
Magenta (survey)
#C20078
ΔE00 6.40
Ugly Purple
#A442A0
ΔE00 6.96
Light Plum
#9D5783
ΔE00 7.36
Purpleish
#98568D
ΔE00 7.65
Purpley Pink
#C83CB9
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3E8E #3EBA6A
analogous
#A83EBA #BA3E8E #BA3E50
triadic
#BA3E8E #8EBA3E #3E8EBA
tetradic
#BA3E8E #BAA83E #3EBA6A #3E50BA
square
#BA3E8E #BAA83E #3EBA6A #3E50BA
split-complementary
#BA3E8E #50BA3E #3EBAA8
monochromatic
#5E1F48 #8C2F6B #BA3E8E #CD68A9 #DC96C3
Accessibility & contrast
On white
5.04
#BA3E8E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#BA3E8E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3E8E
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3E8E | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B6290
Deuteranopia (green-blind)
#6F768B
Tritanopia (blue-blind)
#C63D60
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ba3e8e; /* rgb */ color: rgb(186, 62, 142); /* oklch */ color: oklch(56.5% 0.180 344.7);
Tailwind
colors: {
custom: {
50: '#d27caf',
500: '#ba3e8e',
950: '#000000',
},
}SCSS
$custom: #ba3e8e; $custom-light: #d27caf; $custom-dark: #000000;
JSON
{
"hex": "#ba3e8e",
"rgb": {
"r": 186,
"g": 62,
"b": 142
},
"hsl": {
"h": 321.29,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.56476,
"c": 0.17981,
"h": 344.7
},
"luminance": 0.15837
}Semantic roles & 50–950 ramp
primary
#BA3E8E
secondary
#8CC8A1
accent
#DA804E
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F