#BA4770#BA4770
#BA4770 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.4% C 0.153 H 1.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4770 |
|---|---|
| RGB | rgb(186, 71, 112) |
| HSL | hsl(339, 45%, 50%) |
| HSV | hsv(339, 62%, 73%) |
| CMYK | cmyk(0%, 61.8%, 39.8%, 27.1%) |
| CIE-LAB | lab(47.13, 50.07, 0.94) |
| CIE-LCH | lch(47.13, 50.08, 1.08°) |
| OKLab | oklab(56.41% 0.1529 0.0031) |
| OKLCH | oklch(56.41% 0.153 1.1) |
| XYZ | xyz(25.4292, 16.1183, 17.0981) |
| Luminance | 0.1611 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.96
Deep Rose
#C74767
ΔE00 4.73
Dark Rose
#B5485D
ΔE00 5.66
Light Burgundy
#A8415B
ΔE00 5.71
Darkish Pink
#DA467D
ΔE00 6.47
Deep Pink
#CB0162
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4770 #47BA91
analogous
#BA47A9 #BA4770 #BA5747
triadic
#BA4770 #70BA47 #4770BA
tetradic
#BA4770 #A9BA47 #47BA91 #5747BA
square
#BA4770 #A9BA47 #47BA91 #5747BA
split-complementary
#BA4770 #47BA57 #47A9BA
monochromatic
#62253B #8E3555 #BA4770 #CB7493 #DBA0B5
Accessibility & contrast
On white
4.97
#BA4770 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#BA4770 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4770
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4770 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4770 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C6271
Deuteranopia (green-blind)
#7B786D
Tritanopia (blue-blind)
#C93B57
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #ba4770; /* rgb */ color: rgb(186, 71, 112); /* oklch */ color: oklch(56.4% 0.153 1.1);
Tailwind
colors: {
custom: {
50: '#d38098',
500: '#ba4770',
950: '#000000',
},
}SCSS
$custom: #ba4770; $custom-light: #d38098; $custom-dark: #000000;
JSON
{
"hex": "#ba4770",
"rgb": {
"r": 186,
"g": 71,
"b": 112
},
"hsl": {
"h": 338.609,
"s": 45.455,
"l": 50.392
},
"oklch": {
"l": 0.56408,
"c": 0.15292,
"h": 1.1
},
"luminance": 0.16115
}Semantic roles & 50–950 ramp
primary
#BA4770
secondary
#95C8B6
accent
#D5A753
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0D
muted
#837C7E