#BA4E7B#BA4E7B
#BA4E7B is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.7% C 0.147 H 356.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E7B |
|---|---|
| RGB | rgb(186, 78, 123) |
| HSL | hsl(335, 44%, 52%) |
| HSV | hsv(335, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 33.9%, 27.1%) |
| CIE-LAB | lab(48.66, 48.14, -3.48) |
| CIE-LCH | lch(48.66, 48.26, 355.87°) |
| OKLab | oklab(57.66% 0.1466 -0.0085) |
| OKLCH | oklch(57.66% 0.147 356.7) |
| XYZ | xyz(26.5506, 17.3207, 20.6800) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.75
Darkish Pink
#DA467D
ΔE00 6.17
Deep Rose
#C74767
ΔE00 6.63
Light Plum
#9D5783
ΔE00 7.20
Dark Rose
#B5485D
ΔE00 8.05
Light Burgundy
#A8415B
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E7B #4EBA8D
analogous
#BA4EB1 #BA4E7B #BA574E
triadic
#BA4E7B #7BBA4E #4E7BBA
tetradic
#BA4E7B #B1BA4E #4EBA8D #574EBA
square
#BA4E7B #B1BA4E #4EBA8D #574EBA
split-complementary
#BA4E7B #4EBA57 #4EB1BA
monochromatic
#662842 #92395E #BA4E7B #CB7A9C #DCA6BD
Accessibility & contrast
On white
4.70
#BA4E7B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#BA4E7B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4E7B
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4E7B | 1.00 | 4.70 | 4.46 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F677C
Deuteranopia (green-blind)
#7C7B78
Tritanopia (blue-blind)
#C8465F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #ba4e7b; /* rgb */ color: rgb(186, 78, 123); /* oklch */ color: oklch(57.7% 0.147 356.7);
Tailwind
colors: {
custom: {
50: '#d284a1',
500: '#ba4e7b',
950: '#000000',
},
}SCSS
$custom: #ba4e7b; $custom-light: #d284a1; $custom-dark: #000000;
JSON
{
"hex": "#ba4e7b",
"rgb": {
"r": 186,
"g": 78,
"b": 123
},
"hsl": {
"h": 335,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.57659,
"c": 0.14685,
"h": 356.7
},
"luminance": 0.17318
}Semantic roles & 50–950 ramp
primary
#BA4E7B
secondary
#9ACAB6
accent
#D49F54
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E