#BA285E#BA285E
#BA285E is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.184 H 4.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #BA285E |
|---|---|
| RGB | rgb(186, 40, 94) |
| HSL | hsl(338, 65%, 44%) |
| HSV | hsv(338, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 49.5%, 27.1%) |
| CIE-LAB | lab(42.41, 59.94, 5.25) |
| CIE-LCH | lch(42.41, 60.17, 5.01°) |
| OKLab | oklab(52.75% 0.1835 0.014) |
| OKLCH | oklch(52.75% 0.184 4.4) |
| XYZ | xyz(23.0309, 12.7680, 11.8392) |
| Luminance | 0.1277 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.03
Light Burgundy
#A8415B
ΔE00 4.79
Purplish Red
#B0054B
ΔE00 4.86
Raspberry (survey)
#B00149
ΔE00 5.25
Dark Hot Pink
#D90166
ΔE00 5.36
Dark Pink
#CB416B
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA285E #28BA84
analogous
#BA28A7 #BA285E #BA3B28
triadic
#BA285E #5EBA28 #285EBA
tetradic
#BA285E #A7BA28 #28BA84 #3B28BA
square
#BA285E #A7BA28 #28BA84 #3B28BA
split-complementary
#BA285E #28BA3B #28A7BA
monochromatic
#55122B #881D45 #BA285E #D8487D #E27AA1
Accessibility & contrast
On white
5.91
#BA285E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#BA285E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA285E
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA285E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA285E | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D525F
Deuteranopia (green-blind)
#746E5B
Tritanopia (blue-blind)
#CB0040
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba285e; /* rgb */ color: rgb(186, 40, 94); /* oklch */ color: oklch(52.8% 0.184 4.4);
Tailwind
colors: {
custom: {
50: '#d5718b',
500: '#ba285e',
950: '#000000',
},
}SCSS
$custom: #ba285e; $custom-light: #d5718b; $custom-dark: #000000;
JSON
{
"hex": "#ba285e",
"rgb": {
"r": 186,
"g": 40,
"b": 94
},
"hsl": {
"h": 337.808,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.52751,
"c": 0.18406,
"h": 4.4
},
"luminance": 0.12765
}Semantic roles & 50–950 ramp
primary
#BA285E
secondary
#73CAAA
accent
#E8AA40
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D