#BA2458#BA2458
#BA2458 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.186 H 6.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2458 |
|---|---|
| RGB | rgb(186, 36, 88) |
| HSL | hsl(339, 68%, 44%) |
| HSV | hsv(339, 81%, 73%) |
| CMYK | cmyk(0%, 80.6%, 52.7%, 27.1%) |
| CIE-LAB | lab(41.86, 60.57, 8.24) |
| CIE-LCH | lch(41.86, 61.13, 7.74°) |
| OKLab | oklab(52.29% 0.1849 0.0213) |
| OKLCH | oklch(52.29% 0.186 6.6) |
| XYZ | xyz(22.6441, 12.4087, 10.4334) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.57
Purplish Red
#B0054B
ΔE00 3.89
Raspberry (survey)
#B00149
ΔE00 4.19
Light Burgundy
#A8415B
ΔE00 4.77
Dark Hot Pink
#D90166
ΔE00 5.70
Ruby
#CA0147
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2458 #24BA86
analogous
#BA24A3 #BA2458 #BA3B24
triadic
#BA2458 #58BA24 #2458BA
tetradic
#BA2458 #A3BA24 #24BA86 #3B24BA
square
#BA2458 #A3BA24 #24BA86 #3B24BA
split-complementary
#BA2458 #24BA3B #24A3BA
monochromatic
#531027 #871A40 #BA2458 #DA4176 #E4749B
Accessibility & contrast
On white
6.03
#BA2458 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#BA2458 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2458
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2458 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2458 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5059
Deuteranopia (green-blind)
#746D54
Tritanopia (blue-blind)
#CB003B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2458; /* rgb */ color: rgb(186, 36, 88); /* oklch */ color: oklch(52.3% 0.186 6.6);
Tailwind
colors: {
custom: {
50: '#d56f86',
500: '#ba2458',
950: '#000000',
},
}SCSS
$custom: #ba2458; $custom-light: #d56f86; $custom-dark: #000000;
JSON
{
"hex": "#ba2458",
"rgb": {
"r": 186,
"g": 36,
"b": 88
},
"hsl": {
"h": 339.2,
"s": 67.568,
"l": 43.529
},
"oklch": {
"l": 0.52293,
"c": 0.18616,
"h": 6.6
},
"luminance": 0.12405
}Semantic roles & 50–950 ramp
primary
#BA2458
secondary
#6ECBAB
accent
#EAAE3D
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C