#BA5071#BA5071
#BA5071 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.6% C 0.140 H 3.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5071 |
|---|---|
| RGB | rgb(186, 80, 113) |
| HSL | hsl(341, 43%, 52%) |
| HSV | hsv(341, 57%, 73%) |
| CMYK | cmyk(0%, 57%, 39.2%, 27.1%) |
| CIE-LAB | lab(48.72, 46.01, 2.65) |
| CIE-LCH | lch(48.72, 46.08, 3.30°) |
| OKLab | oklab(57.61% 0.1402 0.0074) |
| OKLCH | oklch(57.61% 0.14 3) |
| XYZ | xyz(26.1005, 17.3715, 17.5981) |
| Luminance | 0.1737 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.89
Deep Rose
#C74767
ΔE00 3.97
Dark Rose
#B5485D
ΔE00 5.18
Darkish Pink
#DA467D
ΔE00 6.08
Light Burgundy
#A8415B
ΔE00 6.37
Light Maroon
#A24857
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5071 #50BA99
analogous
#BA50A6 #BA5071 #BA6450
triadic
#BA5071 #71BA50 #5071BA
tetradic
#BA5071 #A6BA50 #50BA99 #6450BA
square
#BA5071 #A6BA50 #50BA99 #6450BA
split-complementary
#BA5071 #50BA64 #50A6BA
monochromatic
#67293C #933A56 #BA5071 #CB7C95 #DDA8B8
Accessibility & contrast
On white
4.69
#BA5071 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#BA5071 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA5071
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5071 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA5071 | 1.00 | 4.69 | 4.47 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#636772
Deuteranopia (green-blind)
#7F7B6F
Tritanopia (blue-blind)
#C8465C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #ba5071; /* rgb */ color: rgb(186, 80, 113); /* oklch */ color: oklch(57.6% 0.140 3.0);
Tailwind
colors: {
custom: {
50: '#d28599',
500: '#ba5071',
950: '#000000',
},
}SCSS
$custom: #ba5071; $custom-light: #d28599; $custom-dark: #000000;
JSON
{
"hex": "#ba5071",
"rgb": {
"r": 186,
"g": 80,
"b": 113
},
"hsl": {
"h": 341.321,
"s": 43.443,
"l": 52.157
},
"oklch": {
"l": 0.57609,
"c": 0.14036,
"h": 3
},
"luminance": 0.17369
}Semantic roles & 50–950 ramp
primary
#BA5071
secondary
#9CCABC
accent
#D3AC55
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0E
muted
#837C7E