#BA2D52#BA2D52
#BA2D52 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.8% C 0.177 H 10.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2D52 |
|---|---|
| RGB | rgb(186, 45, 82) |
| HSL | hsl(344, 61%, 45%) |
| HSV | hsv(344, 76%, 73%) |
| CMYK | cmyk(0%, 75.8%, 55.9%, 27.1%) |
| CIE-LAB | lab(42.66, 57.45, 13.11) |
| CIE-LCH | lch(42.66, 58.93, 12.86°) |
| OKLab | oklab(52.83% 0.1741 0.033) |
| OKLCH | oklch(52.83% 0.177 10.7) |
| XYZ | xyz(22.7133, 12.9283, 9.2804) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Ruby
#CA0147
ΔE00 3.98
Light Burgundy
#A8415B
ΔE00 4.56
Dark Rose
#B5485D
ΔE00 4.65
Purplish Red
#B0054B
ΔE00 5.01
Raspberry (survey)
#B00149
ΔE00 5.05
Lipstick
#D5174E
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2D52 #2DBA95
analogous
#BA2D99 #BA2D52 #BA4E2D
triadic
#BA2D52 #52BA2D #2D52BA
tetradic
#BA2D52 #99BA2D #2DBA95 #4E2DBA
square
#BA2D52 #99BA2D #2DBA95 #4E2DBA
split-complementary
#BA2D52 #2DBA4E #2D99BA
monochromatic
#571527 #89213C #BA2D52 #D55073 #E0819A
Accessibility & contrast
On white
5.86
#BA2D52 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#BA2D52 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2D52
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2D52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2D52 | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#525253
Deuteranopia (green-blind)
#776F4E
Tritanopia (blue-blind)
#CB003D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2d52; /* rgb */ color: rgb(186, 45, 82); /* oklch */ color: oklch(52.8% 0.177 10.7);
Tailwind
colors: {
custom: {
50: '#d57382',
500: '#ba2d52',
950: '#000000',
},
}SCSS
$custom: #ba2d52; $custom-light: #d57382; $custom-dark: #000000;
JSON
{
"hex": "#ba2d52",
"rgb": {
"r": 186,
"g": 45,
"b": 82
},
"hsl": {
"h": 344.255,
"s": 61.039,
"l": 45.294
},
"oklch": {
"l": 0.52832,
"c": 0.17717,
"h": 10.7
},
"luminance": 0.12925
}Semantic roles & 50–950 ramp
primary
#BA2D52
secondary
#79C9B4
accent
#E4BA44
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C