#BA2962#BA2962
#BA2962 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.184 H 2.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2962 |
|---|---|
| RGB | rgb(186, 41, 98) |
| HSL | hsl(336, 64%, 45%) |
| HSV | hsv(336, 78%, 73%) |
| CMYK | cmyk(0%, 78%, 47.3%, 27.1%) |
| CIE-LAB | lab(42.63, 60.00, 3.05) |
| CIE-LCH | lch(42.63, 60.07, 2.91°) |
| OKLab | oklab(52.95% 0.184 0.0085) |
| OKLCH | oklch(52.95% 0.184 2.6) |
| XYZ | xyz(23.2492, 12.9100, 12.8205) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.00
Light Burgundy
#A8415B
ΔE00 5.19
Dark Hot Pink
#D90166
ΔE00 5.39
Purplish Red
#B0054B
ΔE00 5.57
Raspberry (survey)
#B00149
ΔE00 5.99
Magenta (survey)
#C20078
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2962 #29BA81
analogous
#BA29AB #BA2962 #BA3929
triadic
#BA2962 #62BA29 #2962BA
tetradic
#BA2962 #ABBA29 #29BA81 #3929BA
square
#BA2962 #ABBA29 #29BA81 #3929BA
split-complementary
#BA2962 #29BA39 #29ABBA
monochromatic
#56132D #881E48 #BA2962 #D74981 #E27BA4
Accessibility & contrast
On white
5.86
#BA2962 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#BA2962 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2962
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2962 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2962 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5363
Deuteranopia (green-blind)
#736F5F
Tritanopia (blue-blind)
#CA0142
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2962; /* rgb */ color: rgb(186, 41, 98); /* oklch */ color: oklch(52.9% 0.184 2.6);
Tailwind
colors: {
custom: {
50: '#d5718e',
500: '#ba2962',
950: '#000000',
},
}SCSS
$custom: #ba2962; $custom-light: #d5718e; $custom-dark: #000000;
JSON
{
"hex": "#ba2962",
"rgb": {
"r": 186,
"g": 41,
"b": 98
},
"hsl": {
"h": 336.414,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.52946,
"c": 0.18419,
"h": 2.6
},
"luminance": 0.12907
}Semantic roles & 50–950 ramp
primary
#BA2962
secondary
#75CAA9
accent
#E7A641
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D