#BA508C#BA508C
#BA508C is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.5% C 0.152 H 347.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #BA508C |
|---|---|
| RGB | rgb(186, 80, 140) |
| HSL | hsl(326, 43%, 52%) |
| HSV | hsv(326, 57%, 73%) |
| CMYK | cmyk(0%, 57%, 24.7%, 27.1%) |
| CIE-LAB | lab(49.58, 49.42, -12.31) |
| CIE-LCH | lch(49.58, 50.93, 346.02°) |
| OKLab | oklab(58.53% 0.1489 -0.0323) |
| OKLCH | oklch(58.53% 0.152 347.8) |
| XYZ | xyz(27.8529, 18.0724, 26.8273) |
| Luminance | 0.1807 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.95
Mediumvioletred
#C71585
ΔE00 7.47
Purpleish
#98568D
ΔE00 7.49
Purplish Pink
#CE5DAE
ΔE00 7.63
Darkish Pink
#DA467D
ΔE00 8.24
Purplish
#94568C
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA508C #50BA7E
analogous
#B350BA #BA508C #BA5057
triadic
#BA508C #8CBA50 #508CBA
tetradic
#BA508C #BAB350 #50BA7E #5057BA
square
#BA508C #BAB350 #50BA7E #5057BA
split-complementary
#BA508C #57BA50 #50BAB3
monochromatic
#67294C #933A6C #BA508C #CB7CA9 #DDA8C6
Accessibility & contrast
On white
4.55
#BA508C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#BA508C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA508C
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA508C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA508C | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6A8E
Deuteranopia (green-blind)
#797D89
Tritanopia (blue-blind)
#C64D68
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #ba508c; /* rgb */ color: rgb(186, 80, 140); /* oklch */ color: oklch(58.5% 0.152 347.8);
Tailwind
colors: {
custom: {
50: '#d286ad',
500: '#ba508c',
950: '#000000',
},
}SCSS
$custom: #ba508c; $custom-light: #d286ad; $custom-dark: #000000;
JSON
{
"hex": "#ba508c",
"rgb": {
"r": 186,
"g": 80,
"b": 140
},
"hsl": {
"h": 326.038,
"s": 43.443,
"l": 52.157
},
"oklch": {
"l": 0.58532,
"c": 0.15239,
"h": 347.8
},
"luminance": 0.1807
}Semantic roles & 50–950 ramp
primary
#BA508C
secondary
#9CCAB0
accent
#D38C55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F