#BA2958#BA2958
#BA2958 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.182 H 7.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2958 |
|---|---|
| RGB | rgb(186, 41, 88) |
| HSL | hsl(341, 64%, 45%) |
| HSV | hsv(341, 78%, 73%) |
| CMYK | cmyk(0%, 78%, 52.7%, 27.1%) |
| CIE-LAB | lab(42.36, 59.16, 8.94) |
| CIE-LCH | lch(42.36, 59.83, 8.59°) |
| OKLab | oklab(52.66% 0.1804 0.023) |
| OKLCH | oklch(52.66% 0.182 7.3) |
| XYZ | xyz(22.8062, 12.7328, 10.4874) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.90
Purplish Red
#B0054B
ΔE00 4.33
Light Burgundy
#A8415B
ΔE00 4.37
Raspberry (survey)
#B00149
ΔE00 4.59
Ruby
#CA0147
ΔE00 5.47
Dark Rose
#B5485D
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2958 #29BA8B
analogous
#BA29A1 #BA2958 #BA4329
triadic
#BA2958 #58BA29 #2958BA
tetradic
#BA2958 #A1BA29 #29BA8B #4329BA
square
#BA2958 #A1BA29 #29BA8B #4329BA
split-complementary
#BA2958 #29BA43 #29A1BA
monochromatic
#561329 #881E40 #BA2958 #D74977 #E27B9D
Accessibility & contrast
On white
5.92
#BA2958 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#BA2958 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2958
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2958 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2958 | 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)
#4F5259
Deuteranopia (green-blind)
#756E54
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2958; /* rgb */ color: rgb(186, 41, 88); /* oklch */ color: oklch(52.7% 0.182 7.3);
Tailwind
colors: {
custom: {
50: '#d57186',
500: '#ba2958',
950: '#000000',
},
}SCSS
$custom: #ba2958; $custom-light: #d57186; $custom-dark: #000000;
JSON
{
"hex": "#ba2958",
"rgb": {
"r": 186,
"g": 41,
"b": 88
},
"hsl": {
"h": 340.552,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.5266,
"c": 0.18184,
"h": 7.3
},
"luminance": 0.1273
}Semantic roles & 50–950 ramp
primary
#BA2958
secondary
#75CAAE
accent
#E7B141
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C