#BA5271#BA5271
#BA5271 is a mid, vivid pink. Relative luminance 0.177; OKLCH L 57.9% C 0.137 H 3.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5271 |
|---|---|
| RGB | rgb(186, 82, 113) |
| HSL | hsl(342, 43%, 53%) |
| HSV | hsv(342, 56%, 73%) |
| CMYK | cmyk(0%, 55.9%, 39.2%, 27.1%) |
| CIE-LAB | lab(49.09, 45.04, 3.18) |
| CIE-LCH | lch(49.09, 45.15, 4.04°) |
| OKLab | oklab(57.88% 0.1371 0.0088) |
| OKLCH | oklch(57.88% 0.137 3.7) |
| XYZ | xyz(26.2492, 17.6687, 17.6476) |
| Luminance | 0.1767 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Rose
#C74767
ΔE00 3.90
Dark Pink
#CB416B
ΔE00 4.04
Dark Rose
#B5485D
ΔE00 5.14
Darkish Pink
#DA467D
ΔE00 6.13
Light Burgundy
#A8415B
ΔE00 6.59
Dusky Rose
#BA6873
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5271 #52BA9B
analogous
#BA52A5 #BA5271 #BA6752
triadic
#BA5271 #71BA52 #5271BA
tetradic
#BA5271 #A5BA52 #52BA9B #6752BA
square
#BA5271 #A5BA52 #52BA9B #6752BA
split-complementary
#BA5271 #52BA67 #52A5BA
monochromatic
#682A3C #943B55 #BA5271 #CB7E95 #DDAAB9
Accessibility & contrast
On white
4.63
#BA5271 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#BA5271 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #BA5271
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA5271 | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#656872
Deuteranopia (green-blind)
#807C6F
Tritanopia (blue-blind)
#C8485E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ba5271; /* rgb */ color: rgb(186, 82, 113); /* oklch */ color: oklch(57.9% 0.137 3.7);
Tailwind
colors: {
custom: {
50: '#d28699',
500: '#ba5271',
950: '#000000',
},
}SCSS
$custom: #ba5271; $custom-light: #d28699; $custom-dark: #000000;
JSON
{
"hex": "#ba5271",
"rgb": {
"r": 186,
"g": 82,
"b": 113
},
"hsl": {
"h": 342.115,
"s": 42.975,
"l": 52.549
},
"oklch": {
"l": 0.57884,
"c": 0.13742,
"h": 3.7
},
"luminance": 0.17666
}Semantic roles & 50–950 ramp
primary
#BA5271
secondary
#9DCABD
accent
#D3AD55
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0E
muted
#837C7E