#BA4A76#BA4A76
#BA4A76 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.0% C 0.151 H 358.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4A76 |
|---|---|
| RGB | rgb(186, 74, 118) |
| HSL | hsl(336, 45%, 51%) |
| HSV | hsv(336, 60%, 73%) |
| CMYK | cmyk(0%, 60.2%, 36.6%, 27.1%) |
| CIE-LAB | lab(47.81, 49.40, -1.70) |
| CIE-LCH | lch(47.81, 49.42, 358.02°) |
| OKLab | oklab(56.98% 0.1507 -0.0038) |
| OKLCH | oklch(56.98% 0.151 358.5) |
| XYZ | xyz(25.9700, 16.6475, 18.9817) |
| Luminance | 0.1664 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 4.89
Deep Rose
#C74767
ΔE00 5.80
Darkish Pink
#DA467D
ΔE00 6.24
Light Burgundy
#A8415B
ΔE00 6.97
Dark Rose
#B5485D
ΔE00 7.02
Deep Pink
#CB0162
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4A76 #4ABA8E
analogous
#BA4AAE #BA4A76 #BA564A
triadic
#BA4A76 #76BA4A #4A76BA
tetradic
#BA4A76 #AEBA4A #4ABA8E #564ABA
square
#BA4A76 #AEBA4A #4ABA8E #564ABA
split-complementary
#BA4A76 #4ABA56 #4AAEBA
monochromatic
#64263E #90375A #BA4A76 #CB7698 #DCA3B9
Accessibility & contrast
On white
4.85
#BA4A76 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#BA4A76 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4A76
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4A76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4A76 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D6477
Deuteranopia (green-blind)
#7B7973
Tritanopia (blue-blind)
#C8405B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ba4a76; /* rgb */ color: rgb(186, 74, 118); /* oklch */ color: oklch(57.0% 0.151 358.5);
Tailwind
colors: {
custom: {
50: '#d3829d',
500: '#ba4a76',
950: '#000000',
},
}SCSS
$custom: #ba4a76; $custom-light: #d3829d; $custom-dark: #000000;
JSON
{
"hex": "#ba4a76",
"rgb": {
"r": 186,
"g": 74,
"b": 118
},
"hsl": {
"h": 336.429,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.56976,
"c": 0.15076,
"h": 358.5
},
"luminance": 0.16645
}Semantic roles & 50–950 ramp
primary
#BA4A76
secondary
#97C9B5
accent
#D5A253
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E