#BA2E5D#BA2E5D
#BA2E5D is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.178 H 5.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2E5D |
|---|---|
| RGB | rgb(186, 46, 93) |
| HSL | hsl(340, 60%, 45%) |
| HSV | hsv(340, 75%, 73%) |
| CMYK | cmyk(0%, 75.3%, 50%, 27.1%) |
| CIE-LAB | lab(43.04, 58.00, 6.78) |
| CIE-LCH | lch(43.04, 58.40, 6.66°) |
| OKLab | oklab(53.21% 0.1772 0.0178) |
| OKLCH | oklch(53.21% 0.178 5.7) |
| XYZ | xyz(23.2045, 13.1866, 11.6772) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.56
Light Burgundy
#A8415B
ΔE00 4.12
Purplish Red
#B0054B
ΔE00 5.19
Dark Rose
#B5485D
ΔE00 5.32
Dark Hot Pink
#D90166
ΔE00 5.33
Raspberry (survey)
#B00149
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2E5D #2EBA8B
analogous
#BA2EA3 #BA2E5D #BA452E
triadic
#BA2E5D #5DBA2E #2E5DBA
tetradic
#BA2E5D #A3BA2E #2EBA8B #452EBA
square
#BA2E5D #A3BA2E #2EBA8B #452EBA
split-complementary
#BA2E5D #2EBA45 #2EA3BA
monochromatic
#58162C #892244 #BA2E5D #D4517D #E082A2
Accessibility & contrast
On white
5.77
#BA2E5D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#BA2E5D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2E5D
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2E5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2E5D | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#50545E
Deuteranopia (green-blind)
#75705A
Tritanopia (blue-blind)
#CB0A42
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba2e5d; /* rgb */ color: rgb(186, 46, 93); /* oklch */ color: oklch(53.2% 0.178 5.7);
Tailwind
colors: {
custom: {
50: '#d5738a',
500: '#ba2e5d',
950: '#000000',
},
}SCSS
$custom: #ba2e5d; $custom-light: #d5738a; $custom-dark: #000000;
JSON
{
"hex": "#ba2e5d",
"rgb": {
"r": 186,
"g": 46,
"b": 93
},
"hsl": {
"h": 339.857,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.53207,
"c": 0.17808,
"h": 5.7
},
"luminance": 0.13183
}Semantic roles & 50–950 ramp
primary
#BA2E5D
secondary
#7BC9AF
accent
#E3AE44
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090B
muted
#837B7C