#BA397A#BA397A
#BA397A is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.2% C 0.176 H 353.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #BA397A |
|---|---|
| RGB | rgb(186, 57, 122) |
| HSL | hsl(330, 53%, 48%) |
| HSV | hsv(330, 69%, 73%) |
| CMYK | cmyk(0%, 69.4%, 34.4%, 27.1%) |
| CIE-LAB | lab(45.32, 57.01, -7.83) |
| CIE-LCH | lch(45.32, 57.54, 352.18°) |
| OKLab | oklab(55.18% 0.1744 -0.02) |
| OKLCH | oklch(55.18% 0.176 353.5) |
| XYZ | xyz(25.2271, 14.7734, 19.9316) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.35
Magenta (survey)
#C20078
ΔE00 4.49
Deep Pink
#CB0162
ΔE00 6.88
Dark Pink
#CB416B
ΔE00 7.74
Dark Hot Pink
#D90166
ΔE00 7.91
Light Plum
#9D5783
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA397A #39BA79
analogous
#B939BA #BA397A #BA393A
triadic
#BA397A #7ABA39 #397ABA
tetradic
#BA397A #BAB939 #39BA79 #393ABA
square
#BA397A #BAB939 #39BA79 #393ABA
split-complementary
#BA397A #3ABA39 #39BAB9
monochromatic
#5C1C3D #8B2B5B #BA397A #CF6199 #DD90B7
Accessibility & contrast
On white
5.31
#BA397A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#BA397A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA397A
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA397A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA397A | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5C7C
Deuteranopia (green-blind)
#737477
Tritanopia (blue-blind)
#C82F55
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ba397a; /* rgb */ color: rgb(186, 57, 122); /* oklch */ color: oklch(55.2% 0.176 353.5);
Tailwind
colors: {
custom: {
50: '#d379a0',
500: '#ba397a',
950: '#000000',
},
}SCSS
$custom: #ba397a; $custom-light: #d379a0; $custom-dark: #000000;
JSON
{
"hex": "#ba397a",
"rgb": {
"r": 186,
"g": 57,
"b": 122
},
"hsl": {
"h": 329.767,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.55175,
"c": 0.17553,
"h": 353.5
},
"luminance": 0.1477
}Semantic roles & 50–950 ramp
primary
#BA397A
secondary
#87C8A7
accent
#DC934B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E