#BA548A#BA548A
#BA548A is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.0% C 0.145 H 349.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #BA548A |
|---|---|
| RGB | rgb(186, 84, 138) |
| HSL | hsl(328, 43%, 53%) |
| HSV | hsv(328, 55%, 73%) |
| CMYK | cmyk(0%, 54.8%, 25.8%, 27.1%) |
| CIE-LAB | lab(50.24, 47.22, -10.13) |
| CIE-LCH | lch(50.24, 48.30, 347.89°) |
| OKLab | oklab(59% 0.1425 -0.0264) |
| OKLCH | oklch(59% 0.145 349.5) |
| XYZ | xyz(28.0084, 18.6172, 26.1582) |
| Luminance | 0.1862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 6.00
Darkish Pink
#DA467D
ΔE00 7.62
Purplish Pink
#CE5DAE
ΔE00 7.78
Purpleish
#98568D
ΔE00 7.99
Mediumvioletred
#C71585
ΔE00 8.46
Purplish
#94568C
ΔE00 8.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA548A #54BA84
analogous
#B754BA #BA548A #BA5457
triadic
#BA548A #8ABA54 #548ABA
tetradic
#BA548A #BAB754 #54BA84 #5457BA
square
#BA548A #BAB754 #54BA84 #5457BA
split-complementary
#BA548A #57BA54 #54BAB7
monochromatic
#692A4C #953C6B #BA548A #CC80A8 #DDABC6
Accessibility & contrast
On white
4.45
#BA548A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#BA548A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA548A
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA548A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA548A | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#606C8C
Deuteranopia (green-blind)
#7B7E88
Tritanopia (blue-blind)
#C65169
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ba548a; /* rgb */ color: rgb(186, 84, 138); /* oklch */ color: oklch(59.0% 0.145 349.5);
Tailwind
colors: {
custom: {
50: '#d288ac',
500: '#ba548a',
950: '#000000',
},
}SCSS
$custom: #ba548a; $custom-light: #d288ac; $custom-dark: #000000;
JSON
{
"hex": "#ba548a",
"rgb": {
"r": 186,
"g": 84,
"b": 138
},
"hsl": {
"h": 328.235,
"s": 42.5,
"l": 52.941
},
"oklch": {
"l": 0.58995,
"c": 0.14493,
"h": 349.5
},
"luminance": 0.18615
}Semantic roles & 50–950 ramp
primary
#BA548A
secondary
#9FCBB4
accent
#D29056
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F