#BA476E#BA476E
#BA476E is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.3% C 0.152 H 2.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #BA476E |
|---|---|
| RGB | rgb(186, 71, 110) |
| HSL | hsl(340, 45%, 50%) |
| HSV | hsv(340, 62%, 73%) |
| CMYK | cmyk(0%, 61.8%, 40.9%, 27.1%) |
| CIE-LAB | lab(47.07, 49.86, 2.08) |
| CIE-LCH | lch(47.07, 49.90, 2.39°) |
| OKLab | oklab(56.35% 0.1522 0.006) |
| OKLCH | oklch(56.35% 0.152 2.2) |
| XYZ | xyz(25.3191, 16.0743, 16.5181) |
| Luminance | 0.1607 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.63
Deep Rose
#C74767
ΔE00 4.26
Dark Rose
#B5485D
ΔE00 5.09
Light Burgundy
#A8415B
ΔE00 5.33
Darkish Pink
#DA467D
ΔE00 6.55
Deep Pink
#CB0162
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA476E #47BA93
analogous
#BA47A8 #BA476E #BA5947
triadic
#BA476E #6EBA47 #476EBA
tetradic
#BA476E #A8BA47 #47BA93 #5947BA
square
#BA476E #A8BA47 #47BA93 #5947BA
split-complementary
#BA476E #47BA59 #47A8BA
monochromatic
#622539 #8E3554 #BA476E #CB7491 #DBA0B4
Accessibility & contrast
On white
4.98
#BA476E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#BA476E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA476E
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA476E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA476E | 1.00 | 4.98 | 4.21 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D626F
Deuteranopia (green-blind)
#7B786B
Tritanopia (blue-blind)
#C93B56
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #ba476e; /* rgb */ color: rgb(186, 71, 110); /* oklch */ color: oklch(56.3% 0.152 2.2);
Tailwind
colors: {
custom: {
50: '#d38097',
500: '#ba476e',
950: '#000000',
},
}SCSS
$custom: #ba476e; $custom-light: #d38097; $custom-dark: #000000;
JSON
{
"hex": "#ba476e",
"rgb": {
"r": 186,
"g": 71,
"b": 110
},
"hsl": {
"h": 339.652,
"s": 45.455,
"l": 50.392
},
"oklch": {
"l": 0.56347,
"c": 0.1523,
"h": 2.2
},
"luminance": 0.16071
}Semantic roles & 50–950 ramp
primary
#BA476E
secondary
#95C8B7
accent
#D5A953
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0D
muted
#837C7E