#BA4875#BA4875
#BA4875 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.7% C 0.153 H 358.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4875 |
|---|---|
| RGB | rgb(186, 72, 117) |
| HSL | hsl(336, 45%, 51%) |
| HSV | hsv(336, 61%, 73%) |
| CMYK | cmyk(0%, 61.3%, 37.1%, 27.1%) |
| CIE-LAB | lab(47.44, 50.19, -1.64) |
| CIE-LCH | lch(47.44, 50.21, 358.13°) |
| OKLab | oklab(56.69% 0.1532 -0.0037) |
| OKLCH | oklch(56.69% 0.153 358.6) |
| XYZ | xyz(25.7795, 16.3610, 18.6265) |
| Luminance | 0.1636 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 4.85
Deep Rose
#C74767
ΔE00 5.81
Darkish Pink
#DA467D
ΔE00 6.39
Light Burgundy
#A8415B
ΔE00 6.75
Dark Rose
#B5485D
ΔE00 6.95
Deep Pink
#CB0162
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4875 #48BA8D
analogous
#BA48AE #BA4875 #BA5448
triadic
#BA4875 #75BA48 #4875BA
tetradic
#BA4875 #AEBA48 #48BA8D #5448BA
square
#BA4875 #AEBA48 #48BA8D #5448BA
split-complementary
#BA4875 #48BA54 #48AEBA
monochromatic
#62253D #8F3659 #BA4875 #CB7497 #DCA1B8
Accessibility & contrast
On white
4.92
#BA4875 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#BA4875 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4875
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4875 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4875 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C6376
Deuteranopia (green-blind)
#7A7972
Tritanopia (blue-blind)
#C83E5A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ba4875; /* rgb */ color: rgb(186, 72, 117); /* oklch */ color: oklch(56.7% 0.153 358.6);
Tailwind
colors: {
custom: {
50: '#d3819c',
500: '#ba4875',
950: '#000000',
},
}SCSS
$custom: #ba4875; $custom-light: #d3819c; $custom-dark: #000000;
JSON
{
"hex": "#ba4875",
"rgb": {
"r": 186,
"g": 72,
"b": 117
},
"hsl": {
"h": 336.316,
"s": 45.238,
"l": 50.588
},
"oklch": {
"l": 0.56692,
"c": 0.15325,
"h": 358.6
},
"luminance": 0.16358
}Semantic roles & 50–950 ramp
primary
#BA4875
secondary
#96C8B4
accent
#D5A253
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E