#BA488E#BA488E
#BA488E is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.6% C 0.166 H 345.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #BA488E |
|---|---|
| RGB | rgb(186, 72, 142) |
| HSL | hsl(323, 45%, 51%) |
| HSV | hsv(323, 61%, 73%) |
| CMYK | cmyk(0%, 61.3%, 23.7%, 27.1%) |
| CIE-LAB | lab(48.30, 53.36, -15.45) |
| CIE-LCH | lch(48.30, 55.55, 343.85°) |
| OKLab | oklab(57.6% 0.1606 -0.0409) |
| OKLCH | oklch(57.6% 0.166 345.7) |
| XYZ | xyz(27.4505, 17.0294, 27.4273) |
| Luminance | 0.1703 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.88
Light Plum
#9D5783
ΔE00 6.41
Purpleish
#98568D
ΔE00 7.22
Magenta (survey)
#C20078
ΔE00 7.76
Ugly Purple
#A442A0
ΔE00 7.98
Purplish
#94568C
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA488E #48BA74
analogous
#AD48BA #BA488E #BA4855
triadic
#BA488E #8EBA48 #488EBA
tetradic
#BA488E #BAAD48 #48BA74 #4855BA
square
#BA488E #BAAD48 #48BA74 #4855BA
split-complementary
#BA488E #55BA48 #48BAAD
monochromatic
#62254B #8F366D #BA488E #CB74A9 #DCA1C5
Accessibility & contrast
On white
4.77
#BA488E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#BA488E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA488E
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA488E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA488E | 1.00 | 4.77 | 4.41 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#536690
Deuteranopia (green-blind)
#747A8B
Tritanopia (blue-blind)
#C64665
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ba488e; /* rgb */ color: rgb(186, 72, 142); /* oklch */ color: oklch(57.6% 0.166 345.7);
Tailwind
colors: {
custom: {
50: '#d281af',
500: '#ba488e',
950: '#000000',
},
}SCSS
$custom: #ba488e; $custom-light: #d281af; $custom-dark: #000000;
JSON
{
"hex": "#ba488e",
"rgb": {
"r": 186,
"g": 72,
"b": 142
},
"hsl": {
"h": 323.158,
"s": 45.238,
"l": 50.588
},
"oklch": {
"l": 0.57603,
"c": 0.16575,
"h": 345.7
},
"luminance": 0.17027
}Semantic roles & 50–950 ramp
primary
#BA488E
secondary
#96C8A9
accent
#D58553
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B10
muted
#837C7F