#BA5099#BA5099
#BA5099 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.1% C 0.161 H 341.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5099 |
|---|---|
| RGB | rgb(186, 80, 153) |
| HSL | hsl(319, 43%, 52%) |
| HSV | hsv(319, 57%, 73%) |
| CMYK | cmyk(0%, 57%, 17.7%, 27.1%) |
| CIE-LAB | lab(50.07, 51.31, -19.30) |
| CIE-LCH | lch(50.07, 54.82, 339.39°) |
| OKLab | oklab(59.05% 0.1523 -0.0517) |
| OKLCH | oklch(59.05% 0.161 341.3) |
| XYZ | xyz(28.8687, 18.4787, 32.1771) |
| Luminance | 0.1848 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 6.01
Purpleish
#98568D
ΔE00 6.87
Light Plum
#9D5783
ΔE00 6.87
Purpley Pink
#C83CB9
ΔE00 6.88
Pinky Purple
#C94CBE
ΔE00 7.04
Ugly Purple
#A442A0
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5099 #50BA71
analogous
#A650BA #BA5099 #BA5064
triadic
#BA5099 #99BA50 #5099BA
tetradic
#BA5099 #BAA650 #50BA71 #5064BA
square
#BA5099 #BAA650 #50BA71 #5064BA
split-complementary
#BA5099 #64BA50 #50BAA6
monochromatic
#672954 #933A77 #BA5099 #CB7CB3 #DDA8CC
Accessibility & contrast
On white
4.47
#BA5099 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#BA5099 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5099
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5099 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5099 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#566C9B
Deuteranopia (green-blind)
#757D96
Tritanopia (blue-blind)
#C4516E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #ba5099; /* rgb */ color: rgb(186, 80, 153); /* oklch */ color: oklch(59.1% 0.161 341.3);
Tailwind
colors: {
custom: {
50: '#d186b7',
500: '#ba5099',
950: '#000000',
},
}SCSS
$custom: #ba5099; $custom-light: #d186b7; $custom-dark: #000000;
JSON
{
"hex": "#ba5099",
"rgb": {
"r": 186,
"g": 80,
"b": 153
},
"hsl": {
"h": 318.679,
"s": 43.443,
"l": 52.157
},
"oklch": {
"l": 0.59054,
"c": 0.16079,
"h": 341.3
},
"luminance": 0.18476
}Semantic roles & 50–950 ramp
primary
#BA5099
secondary
#9CCAAA
accent
#D37C55
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80