#BA399E#BA399E
#BA399E is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.7% C 0.197 H 337.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BA399E |
|---|---|
| RGB | rgb(186, 57, 158) |
| HSL | hsl(313, 53%, 48%) |
| HSV | hsv(313, 69%, 73%) |
| CMYK | cmyk(0%, 69.4%, 15.1%, 27.1%) |
| CIE-LAB | lab(46.76, 61.72, -27.39) |
| CIE-LCH | lch(46.76, 67.53, 336.07°) |
| OKLab | oklab(56.69% 0.1822 -0.0743) |
| OKLCH | oklch(56.69% 0.197 337.8) |
| XYZ | xyz(27.8849, 15.8365, 33.9293) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Ugly Purple
#A442A0
ΔE00 4.42
Purpley Pink
#C83CB9
ΔE00 5.14
Medium Purple
#9E43A2
ΔE00 5.82
Mediumvioletred
#C71585
ΔE00 6.20
Pinky Purple
#C94CBE
ΔE00 7.23
Barney
#AC1DB8
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA399E #39BA55
analogous
#9539BA #BA399E #BA395E
triadic
#BA399E #9EBA39 #399EBA
tetradic
#BA399E #BA9539 #39BA55 #395EBA
square
#BA399E #BA9539 #39BA55 #395EBA
split-complementary
#BA399E #5EBA39 #39BA95
monochromatic
#5C1C4E #8B2B76 #BA399E #CF61B7 #DD90CC
Accessibility & contrast
On white
5.04
#BA399E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#BA399E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA399E
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA399E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA399E | 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)
#3E62A1
Deuteranopia (green-blind)
#68769B
Tritanopia (blue-blind)
#C43F67
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ba399e; /* rgb */ color: rgb(186, 57, 158); /* oklch */ color: oklch(56.7% 0.197 337.8);
Tailwind
colors: {
custom: {
50: '#d27abb',
500: '#ba399e',
950: '#000000',
},
}SCSS
$custom: #ba399e; $custom-light: #d27abb; $custom-dark: #000000;
JSON
{
"hex": "#ba399e",
"rgb": {
"r": 186,
"g": 57,
"b": 158
},
"hsl": {
"h": 313.023,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.56695,
"c": 0.19672,
"h": 337.8
},
"luminance": 0.15834
}Semantic roles & 50–950 ramp
primary
#BA399E
secondary
#87C895
accent
#DC6B4B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#150A12
muted
#837C81