#BA3682#BA3682
#BA3682 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.2% C 0.183 H 349.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3682 |
|---|---|
| RGB | rgb(186, 54, 130) |
| HSL | hsl(325, 55%, 47%) |
| HSV | hsv(325, 71%, 73%) |
| CMYK | cmyk(0%, 71%, 30.1%, 27.1%) |
| CIE-LAB | lab(45.21, 59.07, -12.89) |
| CIE-LCH | lch(45.21, 60.46, 347.69°) |
| OKLab | oklab(55.19% 0.18 -0.0337) |
| OKLCH | oklch(55.19% 0.183 349.4) |
| XYZ | xyz(25.5994, 14.6920, 22.6025) |
| Luminance | 0.1469 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.07
Magenta (survey)
#C20078
ΔE00 4.18
Light Plum
#9D5783
ΔE00 7.94
Deep Pink
#CB0162
ΔE00 8.46
Ugly Purple
#A442A0
ΔE00 8.84
Purpleish
#98568D
ΔE00 8.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3682 #36BA6E
analogous
#B036BA #BA3682 #BA3640
triadic
#BA3682 #82BA36 #3682BA
tetradic
#BA3682 #BAB036 #36BA6E #3640BA
square
#BA3682 #BAB036 #36BA6E #3640BA
split-complementary
#BA3682 #40BA36 #36BAB0
monochromatic
#5B1A40 #8B2861 #BA3682 #D05D9F #DE8DBB
Accessibility & contrast
On white
5.33
#BA3682 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#BA3682 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3682
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3682 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3682 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A5C84
Deuteranopia (green-blind)
#70737F
Tritanopia (blue-blind)
#C72F57
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ba3682; /* rgb */ color: rgb(186, 54, 130); /* oklch */ color: oklch(55.2% 0.183 349.4);
Tailwind
colors: {
custom: {
50: '#d378a6',
500: '#ba3682',
950: '#000000',
},
}SCSS
$custom: #ba3682; $custom-light: #d378a6; $custom-dark: #000000;
JSON
{
"hex": "#ba3682",
"rgb": {
"r": 186,
"g": 54,
"b": 130
},
"hsl": {
"h": 325.455,
"s": 55,
"l": 47.059
},
"oklch": {
"l": 0.55186,
"c": 0.18317,
"h": 349.4
},
"luminance": 0.14689
}Semantic roles & 50–950 ramp
primary
#BA3682
secondary
#84C8A1
accent
#DE8949
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F