#BA4E7C#BA4E7C
#BA4E7C is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.7% C 0.147 H 356.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E7C |
|---|---|
| RGB | rgb(186, 78, 124) |
| HSL | hsl(334, 44%, 52%) |
| HSV | hsv(334, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 33.3%, 27.1%) |
| CIE-LAB | lab(48.69, 48.26, -4.04) |
| CIE-LCH | lch(48.69, 48.43, 355.22°) |
| OKLab | oklab(57.69% 0.1469 -0.01) |
| OKLCH | oklch(57.69% 0.147 356.1) |
| XYZ | xyz(26.6135, 17.3458, 21.0114) |
| Luminance | 0.1734 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.97
Darkish Pink
#DA467D
ΔE00 6.25
Deep Rose
#C74767
ΔE00 6.89
Light Plum
#9D5783
ΔE00 7.05
Mediumvioletred
#C71585
ΔE00 8.22
Light Burgundy
#A8415B
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E7C #4EBA8C
analogous
#BA4EB2 #BA4E7C #BA564E
triadic
#BA4E7C #7CBA4E #4E7CBA
tetradic
#BA4E7C #B2BA4E #4EBA8C #564EBA
square
#BA4E7C #B2BA4E #4EBA8C #564EBA
split-complementary
#BA4E7C #4EBA56 #4EB2BA
monochromatic
#662842 #92395F #BA4E7C #CB7A9D #DCA6BD
Accessibility & contrast
On white
4.70
#BA4E7C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#BA4E7C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4E7C
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4E7C | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F677D
Deuteranopia (green-blind)
#7C7B79
Tritanopia (blue-blind)
#C84760
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #ba4e7c; /* rgb */ color: rgb(186, 78, 124); /* oklch */ color: oklch(57.7% 0.147 356.1);
Tailwind
colors: {
custom: {
50: '#d284a1',
500: '#ba4e7c',
950: '#000000',
},
}SCSS
$custom: #ba4e7c; $custom-light: #d284a1; $custom-dark: #000000;
JSON
{
"hex": "#ba4e7c",
"rgb": {
"r": 186,
"g": 78,
"b": 124
},
"hsl": {
"h": 334.444,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.57693,
"c": 0.14728,
"h": 356.1
},
"luminance": 0.17343
}Semantic roles & 50–950 ramp
primary
#BA4E7C
secondary
#9ACAB5
accent
#D49D54
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0F
muted
#837C7E