#BA457A#BA457A
#BA457A is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.5% C 0.160 H 355.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #BA457A |
|---|---|
| RGB | rgb(186, 69, 122) |
| HSL | hsl(333, 46%, 50%) |
| HSV | hsv(333, 63%, 73%) |
| CMYK | cmyk(0%, 62.9%, 34.4%, 27.1%) |
| CIE-LAB | lab(47.11, 52.10, -5.17) |
| CIE-LCH | lch(47.11, 52.36, 354.33°) |
| OKLab | oklab(56.5% 0.159 -0.013) |
| OKLCH | oklch(56.5% 0.16 355.3) |
| XYZ | xyz(25.8921, 16.1033, 20.1533) |
| Luminance | 0.1610 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 6.26
Mediumvioletred
#C71585
ΔE00 6.48
Magenta (survey)
#C20078
ΔE00 6.84
Darkish Pink
#DA467D
ΔE00 7.04
Light Plum
#9D5783
ΔE00 7.32
Deep Rose
#C74767
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA457A #45BA85
analogous
#BA45B4 #BA457A #BA4B45
triadic
#BA457A #7ABA45 #457ABA
tetradic
#BA457A #B4BA45 #45BA85 #4B45BA
square
#BA457A #B4BA45 #45BA85 #4B45BA
split-complementary
#BA457A #45BA4B #45B4BA
monochromatic
#61243F #8D345D #BA457A #CB729A #DB9EBA
Accessibility & contrast
On white
4.98
#BA457A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#BA457A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA457A
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA457A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA457A | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58627C
Deuteranopia (green-blind)
#787877
Tritanopia (blue-blind)
#C83C5A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #ba457a; /* rgb */ color: rgb(186, 69, 122); /* oklch */ color: oklch(56.5% 0.160 355.3);
Tailwind
colors: {
custom: {
50: '#d37fa0',
500: '#ba457a',
950: '#000000',
},
}SCSS
$custom: #ba457a; $custom-light: #d37fa0; $custom-dark: #000000;
JSON
{
"hex": "#ba457a",
"rgb": {
"r": 186,
"g": 69,
"b": 122
},
"hsl": {
"h": 332.821,
"s": 45.882,
"l": 50
},
"oklch": {
"l": 0.56495,
"c": 0.15954,
"h": 355.3
},
"luminance": 0.161
}Semantic roles & 50–950 ramp
primary
#BA457A
secondary
#93C8B0
accent
#D69A52
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E