#BA2956#BA2956
#BA2956 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.6% C 0.181 H 8.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2956 |
|---|---|
| RGB | rgb(186, 41, 86) |
| HSL | hsl(341, 64%, 45%) |
| HSV | hsv(341, 78%, 73%) |
| CMYK | cmyk(0%, 78%, 53.8%, 27.1%) |
| CIE-LAB | lab(42.31, 59.00, 10.12) |
| CIE-LCH | lch(42.31, 59.86, 9.74°) |
| OKLab | oklab(52.61% 0.1796 0.0259) |
| OKLCH | oklch(52.61% 0.181 8.2) |
| XYZ | xyz(22.7245, 12.7001, 10.0571) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 4.28
Deep Pink
#CB0162
ΔE00 4.31
Light Burgundy
#A8415B
ΔE00 4.40
Raspberry (survey)
#B00149
ΔE00 4.47
Ruby
#CA0147
ΔE00 4.98
Dark Rose
#B5485D
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2956 #29BA8D
analogous
#BA299F #BA2956 #BA4429
triadic
#BA2956 #56BA29 #2956BA
tetradic
#BA2956 #9FBA29 #29BA8D #4429BA
square
#BA2956 #9FBA29 #29BA8D #4429BA
split-complementary
#BA2956 #29BA44 #299FBA
monochromatic
#561328 #881E3F #BA2956 #D74975 #E27B9B
Accessibility & contrast
On white
5.93
#BA2956 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#BA2956 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2956
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2956 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2956 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F5157
Deuteranopia (green-blind)
#756E52
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2956; /* rgb */ color: rgb(186, 41, 86); /* oklch */ color: oklch(52.6% 0.181 8.2);
Tailwind
colors: {
custom: {
50: '#d57185',
500: '#ba2956',
950: '#000000',
},
}SCSS
$custom: #ba2956; $custom-light: #d57185; $custom-dark: #000000;
JSON
{
"hex": "#ba2956",
"rgb": {
"r": 186,
"g": 41,
"b": 86
},
"hsl": {
"h": 341.379,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.52607,
"c": 0.18148,
"h": 8.2
},
"luminance": 0.12697
}Semantic roles & 50–950 ramp
primary
#BA2956
secondary
#75CAB0
accent
#E7B341
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C