#BA255A#BA255A
#BA255A is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.186 H 5.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #BA255A |
|---|---|
| RGB | rgb(186, 37, 90) |
| HSL | hsl(339, 67%, 44%) |
| HSV | hsv(339, 80%, 73%) |
| CMYK | cmyk(0%, 80.1%, 51.6%, 27.1%) |
| CIE-LAB | lab(42.01, 60.46, 7.18) |
| CIE-LCH | lch(42.01, 60.89, 6.78°) |
| OKLab | oklab(52.42% 0.1848 0.0188) |
| OKLCH | oklch(52.42% 0.186 5.8) |
| XYZ | xyz(22.7588, 12.5037, 10.8859) |
| Luminance | 0.1250 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.31
Purplish Red
#B0054B
ΔE00 4.15
Raspberry (survey)
#B00149
ΔE00 4.49
Light Burgundy
#A8415B
ΔE00 4.76
Dark Hot Pink
#D90166
ΔE00 5.55
Ruby
#CA0147
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA255A #25BA85
analogous
#BA25A4 #BA255A #BA3B25
triadic
#BA255A #5ABA25 #255ABA
tetradic
#BA255A #A4BA25 #25BA85 #3B25BA
square
#BA255A #A4BA25 #25BA85 #3B25BA
split-complementary
#BA255A #25BA3B #25A4BA
monochromatic
#541129 #871B41 #BA255A #DA4378 #E4769D
Accessibility & contrast
On white
6.00
#BA255A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#BA255A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA255A
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA255A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA255A | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D505B
Deuteranopia (green-blind)
#736E56
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba255a; /* rgb */ color: rgb(186, 37, 90); /* oklch */ color: oklch(52.4% 0.186 5.8);
Tailwind
colors: {
custom: {
50: '#d57088',
500: '#ba255a',
950: '#000000',
},
}SCSS
$custom: #ba255a; $custom-light: #d57088; $custom-dark: #000000;
JSON
{
"hex": "#ba255a",
"rgb": {
"r": 186,
"g": 37,
"b": 90
},
"hsl": {
"h": 338.658,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.52418,
"c": 0.18576,
"h": 5.8
},
"luminance": 0.125
}Semantic roles & 50–950 ramp
primary
#BA255A
secondary
#70CBAB
accent
#EAAD3E
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C