#BA428A#BA428A
#BA428A is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.7% C 0.172 H 347.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #BA428A |
|---|---|
| RGB | rgb(186, 66, 138) |
| HSL | hsl(324, 48%, 49%) |
| HSV | hsv(324, 65%, 73%) |
| CMYK | cmyk(0%, 64.5%, 25.8%, 27.1%) |
| CIE-LAB | lab(47.20, 55.40, -14.72) |
| CIE-LCH | lch(47.20, 57.32, 345.12°) |
| OKLab | oklab(56.75% 0.1675 -0.0388) |
| OKLCH | oklch(56.75% 0.172 347) |
| XYZ | xyz(26.7864, 16.1732, 25.7509) |
| Luminance | 0.1617 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 4.73
Magenta (survey)
#C20078
ΔE00 6.48
Light Plum
#9D5783
ΔE00 6.78
Purpleish
#98568D
ΔE00 7.68
Ugly Purple
#A442A0
ΔE00 8.06
Purplish
#94568C
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA428A #42BA72
analogous
#AE42BA #BA428A #BA424E
triadic
#BA428A #8ABA42 #428ABA
tetradic
#BA428A #BAAE42 #42BA72 #424EBA
square
#BA428A #BAAE42 #42BA72 #424EBA
split-complementary
#BA428A #4EBA42 #42BAAE
monochromatic
#602247 #8D3268 #BA428A #CB6EA6 #DB9BC2
Accessibility & contrast
On white
4.96
#BA428A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#BA428A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA428A
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA428A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA428A | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50638C
Deuteranopia (green-blind)
#727887
Tritanopia (blue-blind)
#C63F60
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #ba428a; /* rgb */ color: rgb(186, 66, 138); /* oklch */ color: oklch(56.7% 0.172 347.0);
Tailwind
colors: {
custom: {
50: '#d27eac',
500: '#ba428a',
950: '#000000',
},
}SCSS
$custom: #ba428a; $custom-light: #d27eac; $custom-dark: #000000;
JSON
{
"hex": "#ba428a",
"rgb": {
"r": 186,
"g": 66,
"b": 138
},
"hsl": {
"h": 324,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.56746,
"c": 0.17197,
"h": 347
},
"luminance": 0.16171
}Semantic roles & 50–950 ramp
primary
#BA428A
secondary
#90C8A6
accent
#D78651
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A10
muted
#837C7F