#BA507A#BA507A
#BA507A is a mid, vivid pink. Relative luminance 0.176; OKLCH L 57.9% C 0.143 H 357.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #BA507A |
|---|---|
| RGB | rgb(186, 80, 122) |
| HSL | hsl(336, 43%, 52%) |
| HSV | hsv(336, 57%, 73%) |
| CMYK | cmyk(0%, 57%, 34.4%, 27.1%) |
| CIE-LAB | lab(48.99, 47.07, -2.39) |
| CIE-LCH | lch(48.99, 47.13, 357.09°) |
| OKLab | oklab(57.89% 0.1433 -0.0057) |
| OKLCH | oklch(57.89% 0.143 357.7) |
| XYZ | xyz(26.6326, 17.5843, 20.4001) |
| Luminance | 0.1758 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.46
Darkish Pink
#DA467D
ΔE00 5.98
Deep Rose
#C74767
ΔE00 6.20
Light Plum
#9D5783
ΔE00 7.47
Dark Rose
#B5485D
ΔE00 7.65
Light Burgundy
#A8415B
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA507A #50BA90
analogous
#BA50AF #BA507A #BA5B50
triadic
#BA507A #7ABA50 #507ABA
tetradic
#BA507A #AFBA50 #50BA90 #5B50BA
square
#BA507A #AFBA50 #50BA90 #5B50BA
split-complementary
#BA507A #50BA5B #50AFBA
monochromatic
#672941 #933A5D #BA507A #CB7C9B #DDA8BD
Accessibility & contrast
On white
4.65
#BA507A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#BA507A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #BA507A
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA507A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA507A | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61687B
Deuteranopia (green-blind)
#7D7C78
Tritanopia (blue-blind)
#C84860
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #ba507a; /* rgb */ color: rgb(186, 80, 122); /* oklch */ color: oklch(57.9% 0.143 357.7);
Tailwind
colors: {
custom: {
50: '#d285a0',
500: '#ba507a',
950: '#000000',
},
}SCSS
$custom: #ba507a; $custom-light: #d285a0; $custom-dark: #000000;
JSON
{
"hex": "#ba507a",
"rgb": {
"r": 186,
"g": 80,
"b": 122
},
"hsl": {
"h": 336.226,
"s": 43.443,
"l": 52.157
},
"oklch": {
"l": 0.57892,
"c": 0.14343,
"h": 357.7
},
"luminance": 0.17582
}Semantic roles & 50–950 ramp
primary
#BA507A
secondary
#9CCAB8
accent
#D3A155
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0E
muted
#837C7E