#BA476A#BA476A
#BA476A is a mid, vivid pink. Relative luminance 0.160; OKLCH L 56.2% C 0.151 H 4.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #BA476A |
|---|---|
| RGB | rgb(186, 71, 106) |
| HSL | hsl(342, 45%, 50%) |
| HSV | hsv(342, 62%, 73%) |
| CMYK | cmyk(0%, 61.8%, 43%, 27.1%) |
| CIE-LAB | lab(46.96, 49.43, 4.36) |
| CIE-LCH | lch(46.96, 49.62, 5.03°) |
| OKLab | oklab(56.23% 0.1507 0.0118) |
| OKLCH | oklch(56.23% 0.151 4.5) |
| XYZ | xyz(25.1062, 15.9891, 15.3970) |
| Luminance | 0.1599 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.21
Deep Rose
#C74767
ΔE00 3.41
Dark Rose
#B5485D
ΔE00 3.93
Light Burgundy
#A8415B
ΔE00 4.70
Light Maroon
#A24857
ΔE00 6.40
Deep Pink
#CB0162
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA476A #47BA97
analogous
#BA47A4 #BA476A #BA5D47
triadic
#BA476A #6ABA47 #476ABA
tetradic
#BA476A #A4BA47 #47BA97 #5D47BA
square
#BA476A #A4BA47 #47BA97 #5D47BA
split-complementary
#BA476A #47BA5D #47A4BA
monochromatic
#622537 #8E3550 #BA476A #CB748E #DBA0B2
Accessibility & contrast
On white
5.00
#BA476A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#BA476A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA476A
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA476A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA476A | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E616B
Deuteranopia (green-blind)
#7C7867
Tritanopia (blue-blind)
#C93954
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ba476a; /* rgb */ color: rgb(186, 71, 106); /* oklch */ color: oklch(56.2% 0.151 4.5);
Tailwind
colors: {
custom: {
50: '#d38094',
500: '#ba476a',
950: '#000000',
},
}SCSS
$custom: #ba476a; $custom-light: #d38094; $custom-dark: #000000;
JSON
{
"hex": "#ba476a",
"rgb": {
"r": 186,
"g": 71,
"b": 106
},
"hsl": {
"h": 341.739,
"s": 45.455,
"l": 50.392
},
"oklch": {
"l": 0.56227,
"c": 0.1512,
"h": 4.5
},
"luminance": 0.15986
}Semantic roles & 50–950 ramp
primary
#BA476A
secondary
#95C8B8
accent
#D5AD53
background
#FDF8F9
surface
#FBEFF1
border
#D4CACB
text
#150B0D
muted
#837C7E