#BA2959#BA2959
#BA2959 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.182 H 6.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2959 |
|---|---|
| RGB | rgb(186, 41, 89) |
| HSL | hsl(340, 64%, 45%) |
| HSV | hsv(340, 78%, 73%) |
| CMYK | cmyk(0%, 78%, 52.2%, 27.1%) |
| CIE-LAB | lab(42.38, 59.24, 8.35) |
| CIE-LCH | lch(42.38, 59.82, 8.02°) |
| OKLab | oklab(52.69% 0.1808 0.0216) |
| OKLCH | oklch(52.69% 0.182 6.8) |
| XYZ | xyz(22.8479, 12.7495, 10.7070) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.72
Light Burgundy
#A8415B
ΔE00 4.38
Purplish Red
#B0054B
ΔE00 4.39
Raspberry (survey)
#B00149
ΔE00 4.67
Dark Rose
#B5485D
ΔE00 5.59
Dark Hot Pink
#D90166
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2959 #29BA8A
analogous
#BA29A2 #BA2959 #BA4229
triadic
#BA2959 #59BA29 #2959BA
tetradic
#BA2959 #A2BA29 #29BA8A #4229BA
square
#BA2959 #A2BA29 #29BA8A #4229BA
split-complementary
#BA2959 #29BA42 #29A2BA
monochromatic
#561329 #881E41 #BA2959 #D74978 #E27B9D
Accessibility & contrast
On white
5.92
#BA2959 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#BA2959 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2959
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2959 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2959 | 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)
#4F525A
Deuteranopia (green-blind)
#756E55
Tritanopia (blue-blind)
#CB003E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2959; /* rgb */ color: rgb(186, 41, 89); /* oklch */ color: oklch(52.7% 0.182 6.8);
Tailwind
colors: {
custom: {
50: '#d57187',
500: '#ba2959',
950: '#000000',
},
}SCSS
$custom: #ba2959; $custom-light: #d57187; $custom-dark: #000000;
JSON
{
"hex": "#ba2959",
"rgb": {
"r": 186,
"g": 41,
"b": 89
},
"hsl": {
"h": 340.138,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.52687,
"c": 0.18204,
"h": 6.8
},
"luminance": 0.12746
}Semantic roles & 50–950 ramp
primary
#BA2959
secondary
#75CAAE
accent
#E7B041
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C