#BA2952#BA2952
#BA2952 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.181 H 10.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2952 |
|---|---|
| RGB | rgb(186, 41, 82) |
| HSL | hsl(343, 64%, 45%) |
| HSV | hsv(343, 78%, 73%) |
| CMYK | cmyk(0%, 78%, 55.9%, 27.1%) |
| CIE-LAB | lab(42.21, 58.70, 12.50) |
| CIE-LCH | lch(42.21, 60.02, 12.02°) |
| OKLab | oklab(52.51% 0.1781 0.0315) |
| OKLCH | oklch(52.51% 0.181 10) |
| XYZ | xyz(22.5678, 12.6374, 9.2319) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 4.07
Purplish Red
#B0054B
ΔE00 4.42
Raspberry (survey)
#B00149
ΔE00 4.49
Light Burgundy
#A8415B
ΔE00 4.69
Dark Rose
#B5485D
ΔE00 5.17
Deep Pink
#CB0162
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2952 #29BA91
analogous
#BA299B #BA2952 #BA4829
triadic
#BA2952 #52BA29 #2952BA
tetradic
#BA2952 #9BBA29 #29BA91 #4829BA
square
#BA2952 #9BBA29 #29BA91 #4829BA
split-complementary
#BA2952 #29BA48 #299BBA
monochromatic
#561326 #881E3C #BA2952 #D74971 #E27B98
Accessibility & contrast
On white
5.95
#BA2952 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#BA2952 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2952
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2952 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2952 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#505153
Deuteranopia (green-blind)
#766E4E
Tritanopia (blue-blind)
#CB003B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2952; /* rgb */ color: rgb(186, 41, 82); /* oklch */ color: oklch(52.5% 0.181 10.0);
Tailwind
colors: {
custom: {
50: '#d67182',
500: '#ba2952',
950: '#000000',
},
}SCSS
$custom: #ba2952; $custom-light: #d67182; $custom-dark: #000000;
JSON
{
"hex": "#ba2952",
"rgb": {
"r": 186,
"g": 41,
"b": 82
},
"hsl": {
"h": 343.034,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.52505,
"c": 0.18086,
"h": 10
},
"luminance": 0.12634
}Semantic roles & 50–950 ramp
primary
#BA2952
secondary
#75CAB2
accent
#E7B841
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C