#BA285D#BA285D
#BA285D is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.184 H 4.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #BA285D |
|---|---|
| RGB | rgb(186, 40, 93) |
| HSL | hsl(338, 65%, 44%) |
| HSV | hsv(338, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 50%, 27.1%) |
| CIE-LAB | lab(42.38, 59.86, 5.84) |
| CIE-LCH | lch(42.38, 60.14, 5.57°) |
| OKLab | oklab(52.72% 0.1832 0.0154) |
| OKLCH | oklch(52.72% 0.184 4.8) |
| XYZ | xyz(22.9863, 12.7502, 11.6044) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.11
Light Burgundy
#A8415B
ΔE00 4.69
Purplish Red
#B0054B
ΔE00 4.72
Raspberry (survey)
#B00149
ΔE00 5.09
Dark Hot Pink
#D90166
ΔE00 5.37
Dark Rose
#B5485D
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA285D #28BA85
analogous
#BA28A6 #BA285D #BA3C28
triadic
#BA285D #5DBA28 #285DBA
tetradic
#BA285D #A6BA28 #28BA85 #3C28BA
square
#BA285D #A6BA28 #28BA85 #3C28BA
split-complementary
#BA285D #28BA3C #28A6BA
monochromatic
#55122B #881D44 #BA285D #D8487C #E27AA0
Accessibility & contrast
On white
5.92
#BA285D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#BA285D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA285D
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA285D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA285D | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D525E
Deuteranopia (green-blind)
#746E5A
Tritanopia (blue-blind)
#CB003F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba285d; /* rgb */ color: rgb(186, 40, 93); /* oklch */ color: oklch(52.7% 0.184 4.8);
Tailwind
colors: {
custom: {
50: '#d5718a',
500: '#ba285d',
950: '#000000',
},
}SCSS
$custom: #ba285d; $custom-light: #d5718a; $custom-dark: #000000;
JSON
{
"hex": "#ba285d",
"rgb": {
"r": 186,
"g": 40,
"b": 93
},
"hsl": {
"h": 338.219,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.52722,
"c": 0.18382,
"h": 4.8
},
"luminance": 0.12747
}Semantic roles & 50–950 ramp
primary
#BA285D
secondary
#73CAAB
accent
#E8AB40
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C