#BA4A74#BA4A74
#BA4A74 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.9% C 0.150 H 359.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4A74 |
|---|---|
| RGB | rgb(186, 74, 116) |
| HSL | hsl(338, 45%, 51%) |
| HSV | hsv(338, 60%, 73%) |
| CMYK | cmyk(0%, 60.2%, 37.6%, 27.1%) |
| CIE-LAB | lab(47.75, 49.16, -0.58) |
| CIE-LCH | lch(47.75, 49.17, 359.32°) |
| OKLab | oklab(56.91% 0.15 -0.0009) |
| OKLCH | oklch(56.91% 0.15 359.7) |
| XYZ | xyz(25.8524, 16.6004, 18.3624) |
| Luminance | 0.1660 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 4.47
Deep Rose
#C74767
ΔE00 5.29
Darkish Pink
#DA467D
ΔE00 6.20
Dark Rose
#B5485D
ΔE00 6.46
Light Burgundy
#A8415B
ΔE00 6.55
Deep Pink
#CB0162
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4A74 #4ABA90
analogous
#BA4AAC #BA4A74 #BA584A
triadic
#BA4A74 #74BA4A #4A74BA
tetradic
#BA4A74 #ACBA4A #4ABA90 #584ABA
square
#BA4A74 #ACBA4A #4ABA90 #584ABA
split-complementary
#BA4A74 #4ABA58 #4AACBA
monochromatic
#64263D #903758 #BA4A74 #CB7696 #DCA3B8
Accessibility & contrast
On white
4.86
#BA4A74 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#BA4A74 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4A74
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4A74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4A74 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E6475
Deuteranopia (green-blind)
#7B7971
Tritanopia (blue-blind)
#C8405A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ba4a74; /* rgb */ color: rgb(186, 74, 116); /* oklch */ color: oklch(56.9% 0.150 359.7);
Tailwind
colors: {
custom: {
50: '#d3829b',
500: '#ba4a74',
950: '#000000',
},
}SCSS
$custom: #ba4a74; $custom-light: #d3829b; $custom-dark: #000000;
JSON
{
"hex": "#ba4a74",
"rgb": {
"r": 186,
"g": 74,
"b": 116
},
"hsl": {
"h": 337.5,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.56911,
"c": 0.15003,
"h": 359.7
},
"luminance": 0.16598
}Semantic roles & 50–950 ramp
primary
#BA4A74
secondary
#97C9B6
accent
#D5A453
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E