#BA285B#BA285B
#BA285B is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.183 H 5.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #BA285B |
|---|---|
| RGB | rgb(186, 40, 91) |
| HSL | hsl(339, 65%, 44%) |
| HSV | hsv(339, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 51.1%, 27.1%) |
| CIE-LAB | lab(42.33, 59.69, 7.02) |
| CIE-LCH | lch(42.33, 60.11, 6.71°) |
| OKLab | oklab(52.67% 0.1824 0.0184) |
| OKLCH | oklch(52.67% 0.183 5.7) |
| XYZ | xyz(22.8989, 12.7152, 11.1440) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.34
Purplish Red
#B0054B
ΔE00 4.48
Light Burgundy
#A8415B
ΔE00 4.54
Raspberry (survey)
#B00149
ΔE00 4.81
Dark Hot Pink
#D90166
ΔE00 5.46
Dark Rose
#B5485D
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA285B #28BA87
analogous
#BA28A4 #BA285B #BA3E28
triadic
#BA285B #5BBA28 #285BBA
tetradic
#BA285B #A4BA28 #28BA87 #3E28BA
square
#BA285B #A4BA28 #28BA87 #3E28BA
split-complementary
#BA285B #28BA3E #28A4BA
monochromatic
#55122A #881D42 #BA285B #D8487A #E27A9E
Accessibility & contrast
On white
5.93
#BA285B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#BA285B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA285B
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA285B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA285B | 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)
#4E515C
Deuteranopia (green-blind)
#746E58
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba285b; /* rgb */ color: rgb(186, 40, 91); /* oklch */ color: oklch(52.7% 0.183 5.7);
Tailwind
colors: {
custom: {
50: '#d57189',
500: '#ba285b',
950: '#000000',
},
}SCSS
$custom: #ba285b; $custom-light: #d57189; $custom-dark: #000000;
JSON
{
"hex": "#ba285b",
"rgb": {
"r": 186,
"g": 40,
"b": 91
},
"hsl": {
"h": 339.041,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.52666,
"c": 0.18336,
"h": 5.7
},
"luminance": 0.12712
}Semantic roles & 50–950 ramp
primary
#BA285B
secondary
#73CAAC
accent
#E8AD40
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C