#BA2955#BA2955
#BA2955 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.181 H 8.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2955 |
|---|---|
| RGB | rgb(186, 41, 85) |
| HSL | hsl(342, 64%, 45%) |
| HSV | hsv(342, 78%, 73%) |
| CMYK | cmyk(0%, 78%, 54.3%, 27.1%) |
| CIE-LAB | lab(42.28, 58.93, 10.72) |
| CIE-LCH | lch(42.28, 59.89, 10.31°) |
| OKLab | oklab(52.58% 0.1792 0.0273) |
| OKLCH | oklch(52.58% 0.181 8.7) |
| XYZ | xyz(22.6845, 12.6841, 9.8464) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.28
Light Burgundy
#A8415B
ΔE00 4.44
Raspberry (survey)
#B00149
ΔE00 4.45
Deep Pink
#CB0162
ΔE00 4.53
Ruby
#CA0147
ΔE00 4.74
Dark Rose
#B5485D
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2955 #29BA8E
analogous
#BA299E #BA2955 #BA4529
triadic
#BA2955 #55BA29 #2955BA
tetradic
#BA2955 #9EBA29 #29BA8E #4529BA
square
#BA2955 #9EBA29 #29BA8E #4529BA
split-complementary
#BA2955 #29BA45 #299EBA
monochromatic
#561327 #881E3E #BA2955 #D74974 #E27B9B
Accessibility & contrast
On white
5.94
#BA2955 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#BA2955 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2955
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2955 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2955 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505156
Deuteranopia (green-blind)
#756E51
Tritanopia (blue-blind)
#CB003C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2955; /* rgb */ color: rgb(186, 41, 85); /* oklch */ color: oklch(52.6% 0.181 8.7);
Tailwind
colors: {
custom: {
50: '#d57184',
500: '#ba2955',
950: '#000000',
},
}SCSS
$custom: #ba2955; $custom-light: #d57184; $custom-dark: #000000;
JSON
{
"hex": "#ba2955",
"rgb": {
"r": 186,
"g": 41,
"b": 85
},
"hsl": {
"h": 341.793,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.52581,
"c": 0.18131,
"h": 8.7
},
"luminance": 0.12681
}Semantic roles & 50–950 ramp
primary
#BA2955
secondary
#75CAB0
accent
#E7B541
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090A
muted
#847B7C