#BA275E#BA275E
#BA275E is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.185 H 4.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #BA275E |
|---|---|
| RGB | rgb(186, 39, 94) |
| HSL | hsl(338, 65%, 44%) |
| HSV | hsv(338, 79%, 73%) |
| CMYK | cmyk(0%, 79%, 49.5%, 27.1%) |
| CIE-LAB | lab(42.31, 60.23, 5.11) |
| CIE-LCH | lch(42.31, 60.45, 4.84°) |
| OKLab | oklab(52.68% 0.1845 0.0136) |
| OKLCH | oklch(52.68% 0.185 4.2) |
| XYZ | xyz(22.9976, 12.7015, 11.8281) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 2.99
Purplish Red
#B0054B
ΔE00 4.81
Light Burgundy
#A8415B
ΔE00 4.89
Raspberry (survey)
#B00149
ΔE00 5.20
Dark Hot Pink
#D90166
ΔE00 5.38
Dark Pink
#CB416B
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA275E #27BA83
analogous
#BA27A8 #BA275E #BA3A27
triadic
#BA275E #5EBA27 #275EBA
tetradic
#BA275E #A8BA27 #27BA83 #3A27BA
square
#BA275E #A8BA27 #27BA83 #3A27BA
split-complementary
#BA275E #27BA3A #27A8BA
monochromatic
#55122B #871C44 #BA275E #D8467D #E379A0
Accessibility & contrast
On white
5.93
#BA275E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#BA275E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA275E
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA275E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA275E | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C515F
Deuteranopia (green-blind)
#736E5B
Tritanopia (blue-blind)
#CB003F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba275e; /* rgb */ color: rgb(186, 39, 94); /* oklch */ color: oklch(52.7% 0.185 4.2);
Tailwind
colors: {
custom: {
50: '#d5718b',
500: '#ba275e',
950: '#000000',
},
}SCSS
$custom: #ba275e; $custom-light: #d5718b; $custom-dark: #000000;
JSON
{
"hex": "#ba275e",
"rgb": {
"r": 186,
"g": 39,
"b": 94
},
"hsl": {
"h": 337.551,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.52677,
"c": 0.18496,
"h": 4.2
},
"luminance": 0.12698
}Semantic roles & 50–950 ramp
primary
#BA275E
secondary
#72CBAA
accent
#E8A940
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D