#BA548E#BA548E
#BA548E is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.1% C 0.147 H 347.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #BA548E |
|---|---|
| RGB | rgb(186, 84, 142) |
| HSL | hsl(326, 43%, 53%) |
| HSV | hsv(326, 55%, 73%) |
| CMYK | cmyk(0%, 54.8%, 23.7%, 27.1%) |
| CIE-LAB | lab(50.38, 47.79, -12.30) |
| CIE-LCH | lch(50.38, 49.35, 345.56°) |
| OKLab | oklab(59.15% 0.1437 -0.0323) |
| OKLCH | oklch(59.15% 0.147 347.3) |
| XYZ | xyz(28.3034, 18.7352, 27.7116) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.99
Purplish Pink
#CE5DAE
ΔE00 7.04
Purpleish
#98568D
ΔE00 7.55
Darkish Pink
#DA467D
ΔE00 8.29
Mediumvioletred
#C71585
ΔE00 8.37
Purplish
#94568C
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA548E #54BA80
analogous
#B354BA #BA548E #BA545B
triadic
#BA548E #8EBA54 #548EBA
tetradic
#BA548E #BAB354 #54BA80 #545BBA
square
#BA548E #BAB354 #54BA80 #545BBA
split-complementary
#BA548E #5BBA54 #54BAB3
monochromatic
#692A4E #953C6E #BA548E #CC80AB #DDABC8
Accessibility & contrast
On white
4.42
#BA548E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#BA548E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA548E
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA548E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA548E | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E6D90
Deuteranopia (green-blind)
#7A7E8B
Tritanopia (blue-blind)
#C5526B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ba548e; /* rgb */ color: rgb(186, 84, 142); /* oklch */ color: oklch(59.1% 0.147 347.3);
Tailwind
colors: {
custom: {
50: '#d188af',
500: '#ba548e',
950: '#000000',
},
}SCSS
$custom: #ba548e; $custom-light: #d188af; $custom-dark: #000000;
JSON
{
"hex": "#ba548e",
"rgb": {
"r": 186,
"g": 84,
"b": 142
},
"hsl": {
"h": 325.882,
"s": 42.5,
"l": 52.941
},
"oklch": {
"l": 0.59145,
"c": 0.14726,
"h": 347.3
},
"luminance": 0.18733
}Semantic roles & 50–950 ramp
primary
#BA548E
secondary
#9FCBB2
accent
#D28B56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F