#BA468A#BA468A
#BA468A is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.2% C 0.166 H 347.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #BA468A |
|---|---|
| RGB | rgb(186, 70, 138) |
| HSL | hsl(325, 46%, 50%) |
| HSV | hsv(325, 62%, 73%) |
| CMYK | cmyk(0%, 62.4%, 25.8%, 27.1%) |
| CIE-LAB | lab(47.83, 53.69, -13.77) |
| CIE-LCH | lch(47.83, 55.43, 345.62°) |
| OKLab | oklab(57.21% 0.1623 -0.0362) |
| OKLCH | oklch(57.21% 0.166 347.4) |
| XYZ | xyz(27.0283, 16.6571, 25.8315) |
| Luminance | 0.1665 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 5.43
Light Plum
#9D5783
ΔE00 6.42
Magenta (survey)
#C20078
ΔE00 7.11
Purpleish
#98568D
ΔE00 7.56
Purplish
#94568C
ΔE00 8.36
Ugly Purple
#A442A0
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA468A #46BA76
analogous
#B046BA #BA468A #BA4650
triadic
#BA468A #8ABA46 #468ABA
tetradic
#BA468A #BAB046 #46BA76 #4650BA
square
#BA468A #BAB046 #46BA76 #4650BA
split-complementary
#BA468A #50BA46 #46BAB0
monochromatic
#612448 #8E3569 #BA468A #CB73A6 #DB9FC2
Accessibility & contrast
On white
4.85
#BA468A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#BA468A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA468A
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA468A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA468A | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53658C
Deuteranopia (green-blind)
#747987
Tritanopia (blue-blind)
#C64362
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ba468a; /* rgb */ color: rgb(186, 70, 138); /* oklch */ color: oklch(57.2% 0.166 347.4);
Tailwind
colors: {
custom: {
50: '#d280ac',
500: '#ba468a',
950: '#000000',
},
}SCSS
$custom: #ba468a; $custom-light: #d280ac; $custom-dark: #000000;
JSON
{
"hex": "#ba468a",
"rgb": {
"r": 186,
"g": 70,
"b": 138
},
"hsl": {
"h": 324.828,
"s": 45.669,
"l": 50.196
},
"oklch": {
"l": 0.57206,
"c": 0.16628,
"h": 347.4
},
"luminance": 0.16654
}Semantic roles & 50–950 ramp
primary
#BA468A
secondary
#94C8A9
accent
#D58952
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150B10
muted
#837C7F