#BA467E#BA467E
#BA467E is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.8% C 0.160 H 353.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #BA467E |
|---|---|
| RGB | rgb(186, 70, 126) |
| HSL | hsl(331, 46%, 50%) |
| HSV | hsv(331, 62%, 73%) |
| CMYK | cmyk(0%, 62.4%, 32.3%, 27.1%) |
| CIE-LAB | lab(47.40, 52.15, -7.16) |
| CIE-LCH | lch(47.40, 52.64, 352.18°) |
| OKLab | oklab(56.76% 0.1589 -0.0183) |
| OKLCH | oklch(56.76% 0.16 353.4) |
| XYZ | xyz(26.2071, 16.3285, 21.5062) |
| Luminance | 0.1633 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 6.13
Magenta (survey)
#C20078
ΔE00 6.84
Light Plum
#9D5783
ΔE00 6.85
Dark Pink
#CB416B
ΔE00 7.06
Darkish Pink
#DA467D
ΔE00 7.31
Deep Pink
#CB0162
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA467E #46BA82
analogous
#BA46B8 #BA467E #BA4846
triadic
#BA467E #7EBA46 #467EBA
tetradic
#BA467E #B8BA46 #46BA82 #4846BA
square
#BA467E #B8BA46 #46BA82 #4846BA
split-complementary
#BA467E #46BA48 #46B8BA
monochromatic
#612442 #8E3560 #BA467E #CB739D #DB9FBC
Accessibility & contrast
On white
4.92
#BA467E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#BA467E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA467E
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA467E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA467E | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#586380
Deuteranopia (green-blind)
#77787B
Tritanopia (blue-blind)
#C83F5C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #ba467e; /* rgb */ color: rgb(186, 70, 126); /* oklch */ color: oklch(56.8% 0.160 353.4);
Tailwind
colors: {
custom: {
50: '#d280a3',
500: '#ba467e',
950: '#000000',
},
}SCSS
$custom: #ba467e; $custom-light: #d280a3; $custom-dark: #000000;
JSON
{
"hex": "#ba467e",
"rgb": {
"r": 186,
"g": 70,
"b": 126
},
"hsl": {
"h": 331.034,
"s": 45.669,
"l": 50.196
},
"oklch": {
"l": 0.56755,
"c": 0.15994,
"h": 353.4
},
"luminance": 0.16326
}Semantic roles & 50–950 ramp
primary
#BA467E
secondary
#94C8AF
accent
#D59652
background
#FDF8FA
surface
#FAEFF3
border
#D3CACD
text
#150B0F
muted
#837C7F