#BA2B92#BA2B92
#BA2B92 is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 54.9% C 0.205 H 342.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2B92 |
|---|---|
| RGB | rgb(186, 43, 146) |
| HSL | hsl(317, 62%, 45%) |
| HSV | hsv(317, 77%, 73%) |
| CMYK | cmyk(0%, 76.9%, 21.5%, 27.1%) |
| CIE-LAB | lab(44.58, 64.70, -23.56) |
| CIE-LCH | lch(44.58, 68.86, 339.99°) |
| OKLab | oklab(54.94% 0.1945 -0.0633) |
| OKLCH | oklch(54.94% 0.205 342) |
| XYZ | xyz(26.3028, 14.2449, 28.5529) |
| Luminance | 0.1424 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.98
Ugly Purple
#A442A0
ΔE00 5.83
Magenta (survey)
#C20078
ΔE00 5.91
Medium Purple
#9E43A2
ΔE00 7.13
Warm Purple
#952E8F
ΔE00 7.65
Purpley Pink
#C83CB9
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2B92 #2BBA53
analogous
#9A2BBA #BA2B92 #BA2B4B
triadic
#BA2B92 #92BA2B #2B92BA
tetradic
#BA2B92 #BA9A2B #2BBA53 #2B4BBA
square
#BA2B92 #BA9A2B #2BBA53 #2B4BBA
split-complementary
#BA2B92 #4BBA2B #2BBA9A
monochromatic
#571444 #88206B #BA2B92 #D64CAF #E17EC6
Accessibility & contrast
On white
5.46
#BA2B92 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#BA2B92 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2B92
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2B92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2B92 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395B95
Deuteranopia (green-blind)
#67728F
Tritanopia (blue-blind)
#C62D5C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #ba2b92; /* rgb */ color: rgb(186, 43, 146); /* oklch */ color: oklch(54.9% 0.205 342.0);
Tailwind
colors: {
custom: {
50: '#d374b2',
500: '#ba2b92',
950: '#000000',
},
}SCSS
$custom: #ba2b92; $custom-light: #d374b2; $custom-dark: #000000;
JSON
{
"hex": "#ba2b92",
"rgb": {
"r": 186,
"g": 43,
"b": 146
},
"hsl": {
"h": 316.783,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.54942,
"c": 0.20452,
"h": 342
},
"luminance": 0.14242
}Semantic roles & 50–950 ramp
primary
#BA2B92
secondary
#77CA8E
accent
#E67042
background
#FDF7FA
surface
#FBEDF5
border
#D4C8CF
text
#150911
muted
#837B80