#BA5F7F#BA5F7F
#BA5F7F is a mid, vivid pink. Relative luminance 0.202; OKLCH L 60.2% C 0.122 H 359.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5F7F |
|---|---|
| RGB | rgb(186, 95, 127) |
| HSL | hsl(339, 40%, 55%) |
| HSV | hsv(339, 49%, 73%) |
| CMYK | cmyk(0%, 48.9%, 31.7%, 27.1%) |
| CIE-LAB | lab(52.02, 40.21, -0.94) |
| CIE-LCH | lch(52.02, 40.22, 358.66°) |
| OKLab | oklab(60.21% 0.122 -0.0019) |
| OKLCH | oklch(60.21% 0.122 359.1) |
| XYZ | xyz(28.1738, 20.1583, 22.4817) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mauve (survey)
#AE7181
ΔE00 6.23
Dusky Rose
#BA6873
ΔE00 6.39
Darkish Pink
#DA467D
ΔE00 6.68
Rose (survey)
#CF6275
ΔE00 7.01
Blush
#DE5D83
ΔE00 7.08
Dark Pink
#CB416B
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5F7F #5FBA9A
analogous
#BA5FAD #BA5F7F #BA6C5F
triadic
#BA5F7F #7FBA5F #5F7FBA
tetradic
#BA5F7F #ADBA5F #5FBA9A #6C5FBA
square
#BA5F7F #ADBA5F #5FBA9A #6C5FBA
split-complementary
#BA5F7F #5FBA6C #5FADBA
monochromatic
#6F3046 #9A4261 #BA5F7F #CC8AA1 #DFB5C3
Accessibility & contrast
On white
4.17
#BA5F7F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#BA5F7F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5F7F
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5F7F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5F7F | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D7280
Deuteranopia (green-blind)
#84827D
Tritanopia (blue-blind)
#C7596B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #ba5f7f; /* rgb */ color: rgb(186, 95, 127); /* oklch */ color: oklch(60.2% 0.122 359.1);
Tailwind
colors: {
custom: {
50: '#d18fa4',
500: '#ba5f7f',
950: '#000000',
},
}SCSS
$custom: #ba5f7f; $custom-light: #d18fa4; $custom-dark: #000000;
JSON
{
"hex": "#ba5f7f",
"rgb": {
"r": 186,
"g": 95,
"b": 127
},
"hsl": {
"h": 338.901,
"s": 39.738,
"l": 55.098
},
"oklch": {
"l": 0.60214,
"c": 0.12199,
"h": 359.1
},
"luminance": 0.20156
}Semantic roles & 50–950 ramp
primary
#BA5F7F
secondary
#A7CDC0
accent
#D0A658
background
#FDF8FA
surface
#FAF0F3
border
#D3CBCD
text
#140C0F
muted
#837D7F