#BA5174#BA5174
#BA5174 is a mid, vivid pink. Relative luminance 0.176; OKLCH L 57.8% C 0.140 H 1.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5174 |
|---|---|
| RGB | rgb(186, 81, 116) |
| HSL | hsl(340, 43%, 52%) |
| HSV | hsv(340, 56%, 73%) |
| CMYK | cmyk(0%, 56.5%, 37.6%, 27.1%) |
| CIE-LAB | lab(48.99, 45.87, 1.23) |
| CIE-LCH | lch(48.99, 45.89, 1.53°) |
| OKLab | oklab(57.84% 0.1397 0.0038) |
| OKLCH | oklch(57.84% 0.14 1.5) |
| XYZ | xyz(26.3460, 17.5877, 18.5269) |
| Luminance | 0.1759 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 4.34
Deep Rose
#C74767
ΔE00 4.62
Darkish Pink
#DA467D
ΔE00 5.91
Dark Rose
#B5485D
ΔE00 5.96
Light Burgundy
#A8415B
ΔE00 6.91
Dusky Rose
#BA6873
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5174 #51BA97
analogous
#BA51A9 #BA5174 #BA6351
triadic
#BA5174 #74BA51 #5174BA
tetradic
#BA5174 #A9BA51 #51BA97 #6351BA
square
#BA5174 #A9BA51 #51BA97 #6351BA
split-complementary
#BA5174 #51BA63 #51A9BA
monochromatic
#68293E #933A58 #BA5174 #CB7D97 #DDA9BA
Accessibility & contrast
On white
4.65
#BA5174 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#BA5174 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #BA5174
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5174 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA5174 | 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)
#636875
Deuteranopia (green-blind)
#7F7C72
Tritanopia (blue-blind)
#C8475E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #ba5174; /* rgb */ color: rgb(186, 81, 116); /* oklch */ color: oklch(57.8% 0.140 1.5);
Tailwind
colors: {
custom: {
50: '#d2869b',
500: '#ba5174',
950: '#000000',
},
}SCSS
$custom: #ba5174; $custom-light: #d2869b; $custom-dark: #000000;
JSON
{
"hex": "#ba5174",
"rgb": {
"r": 186,
"g": 81,
"b": 116
},
"hsl": {
"h": 340,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.57837,
"c": 0.13979,
"h": 1.5
},
"luminance": 0.17585
}Semantic roles & 50–950 ramp
primary
#BA5174
secondary
#9DCABB
accent
#D3A955
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0E
muted
#837C7E