#BA285A#BA285A
#BA285A is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.183 H 6.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #BA285A |
|---|---|
| RGB | rgb(186, 40, 90) |
| HSL | hsl(339, 65%, 44%) |
| HSV | hsv(339, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 51.6%, 27.1%) |
| CIE-LAB | lab(42.30, 59.61, 7.61) |
| CIE-LCH | lch(42.30, 60.10, 7.27°) |
| OKLab | oklab(52.64% 0.1821 0.0198) |
| OKLCH | oklch(52.64% 0.183 6.2) |
| XYZ | xyz(22.8560, 12.6981, 10.9183) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.48
Purplish Red
#B0054B
ΔE00 4.38
Light Burgundy
#A8415B
ΔE00 4.49
Raspberry (survey)
#B00149
ΔE00 4.69
Dark Hot Pink
#D90166
ΔE00 5.52
Dark Rose
#B5485D
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA285A #28BA88
analogous
#BA28A3 #BA285A #BA3F28
triadic
#BA285A #5ABA28 #285ABA
tetradic
#BA285A #A3BA28 #28BA88 #3F28BA
square
#BA285A #A3BA28 #28BA88 #3F28BA
split-complementary
#BA285A #28BA3F #28A3BA
monochromatic
#551229 #881D42 #BA285A #D84879 #E27A9E
Accessibility & contrast
On white
5.93
#BA285A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#BA285A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA285A
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA285A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA285A | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E515B
Deuteranopia (green-blind)
#746E56
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba285a; /* rgb */ color: rgb(186, 40, 90); /* oklch */ color: oklch(52.6% 0.183 6.2);
Tailwind
colors: {
custom: {
50: '#d57188',
500: '#ba285a',
950: '#000000',
},
}SCSS
$custom: #ba285a; $custom-light: #d57188; $custom-dark: #000000;
JSON
{
"hex": "#ba285a",
"rgb": {
"r": 186,
"g": 40,
"b": 90
},
"hsl": {
"h": 339.452,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.52638,
"c": 0.18314,
"h": 6.2
},
"luminance": 0.12695
}Semantic roles & 50–950 ramp
primary
#BA285A
secondary
#73CAAD
accent
#E8AE40
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C