#BA5682#BA5682
#BA5682 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.0% C 0.138 H 354.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5682 |
|---|---|
| RGB | rgb(186, 86, 130) |
| HSL | hsl(334, 42%, 53%) |
| HSV | hsv(334, 54%, 73%) |
| CMYK | cmyk(0%, 53.8%, 30.1%, 27.1%) |
| CIE-LAB | lab(50.34, 45.16, -5.19) |
| CIE-LCH | lch(50.34, 45.46, 353.44°) |
| OKLab | oklab(58.99% 0.137 -0.0131) |
| OKLCH | oklch(58.99% 0.138 354.5) |
| XYZ | xyz(27.6079, 18.7090, 23.2720) |
| Luminance | 0.1871 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 6.43
Light Plum
#9D5783
ΔE00 6.75
Dark Pink
#CB416B
ΔE00 7.15
Deep Rose
#C74767
ΔE00 7.87
Blush
#DE5D83
ΔE00 8.61
Mauve (survey)
#AE7181
ΔE00 8.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5682 #56BA8E
analogous
#BA56B4 #BA5682 #BA5C56
triadic
#BA5682 #82BA56 #5682BA
tetradic
#BA5682 #B4BA56 #56BA8E #5C56BA
square
#BA5682 #B4BA56 #56BA8E #5C56BA
split-complementary
#BA5682 #56BA5C #56B4BA
monochromatic
#6A2B47 #963D64 #BA5682 #CC81A2 #DDADC2
Accessibility & contrast
On white
4.43
#BA5682 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#BA5682 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5682
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5682 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5682 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#646D83
Deuteranopia (green-blind)
#7E7F80
Tritanopia (blue-blind)
#C75067
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ba5682; /* rgb */ color: rgb(186, 86, 130); /* oklch */ color: oklch(59.0% 0.138 354.5);
Tailwind
colors: {
custom: {
50: '#d289a6',
500: '#ba5682',
950: '#000000',
},
}SCSS
$custom: #ba5682; $custom-light: #d289a6; $custom-dark: #000000;
JSON
{
"hex": "#ba5682",
"rgb": {
"r": 186,
"g": 86,
"b": 130
},
"hsl": {
"h": 333.6,
"s": 42.017,
"l": 53.333
},
"oklch": {
"l": 0.58989,
"c": 0.13762,
"h": 354.5
},
"luminance": 0.18706
}Semantic roles & 50–950 ramp
primary
#BA5682
secondary
#A0CBB8
accent
#D29B56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F