#BA4E7A#BA4E7A
#BA4E7A is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.6% C 0.146 H 357.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E7A |
|---|---|
| RGB | rgb(186, 78, 122) |
| HSL | hsl(336, 44%, 52%) |
| HSV | hsv(336, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 34.4%, 27.1%) |
| CIE-LAB | lab(48.63, 48.01, -2.92) |
| CIE-LCH | lch(48.63, 48.10, 356.52°) |
| OKLab | oklab(57.63% 0.1463 -0.0071) |
| OKLCH | oklch(57.63% 0.146 357.2) |
| XYZ | xyz(26.4883, 17.2958, 20.3520) |
| Luminance | 0.1729 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.52
Darkish Pink
#DA467D
ΔE00 6.10
Deep Rose
#C74767
ΔE00 6.38
Light Plum
#9D5783
ΔE00 7.36
Dark Rose
#B5485D
ΔE00 7.78
Light Burgundy
#A8415B
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E7A #4EBA8E
analogous
#BA4EB0 #BA4E7A #BA584E
triadic
#BA4E7A #7ABA4E #4E7ABA
tetradic
#BA4E7A #B0BA4E #4EBA8E #584EBA
square
#BA4E7A #B0BA4E #4EBA8E #584EBA
split-complementary
#BA4E7A #4EBA58 #4EB0BA
monochromatic
#662841 #92395D #BA4E7A #CB7A9B #DCA6BC
Accessibility & contrast
On white
4.71
#BA4E7A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#BA4E7A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4E7A
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4E7A | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F677B
Deuteranopia (green-blind)
#7C7B77
Tritanopia (blue-blind)
#C8465F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ba4e7a; /* rgb */ color: rgb(186, 78, 122); /* oklch */ color: oklch(57.6% 0.146 357.2);
Tailwind
colors: {
custom: {
50: '#d284a0',
500: '#ba4e7a',
950: '#000000',
},
}SCSS
$custom: #ba4e7a; $custom-light: #d284a0; $custom-dark: #000000;
JSON
{
"hex": "#ba4e7a",
"rgb": {
"r": 186,
"g": 78,
"b": 122
},
"hsl": {
"h": 335.556,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.57626,
"c": 0.14644,
"h": 357.2
},
"luminance": 0.17293
}Semantic roles & 50–950 ramp
primary
#BA4E7A
secondary
#9ACAB6
accent
#D4A054
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E