#BA3159#BA3159
#BA3159 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.4% C 0.174 H 8.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3159 |
|---|---|
| RGB | rgb(186, 49, 89) |
| HSL | hsl(342, 58%, 46%) |
| HSV | hsv(342, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 52.2%, 27.1%) |
| CIE-LAB | lab(43.30, 56.66, 9.64) |
| CIE-LCH | lch(43.30, 57.47, 9.65°) |
| OKLab | oklab(53.36% 0.1725 0.0248) |
| OKLCH | oklch(53.36% 0.174 8.2) |
| XYZ | xyz(23.1533, 13.3602, 10.8088) |
| Luminance | 0.1336 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.80
Dark Rose
#B5485D
ΔE00 4.31
Deep Pink
#CB0162
ΔE00 4.56
Purplish Red
#B0054B
ΔE00 5.32
Ruby
#CA0147
ΔE00 5.41
Raspberry (survey)
#B00149
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3159 #31BA92
analogous
#BA319D #BA3159 #BA4D31
triadic
#BA3159 #59BA31 #3159BA
tetradic
#BA3159 #9DBA31 #31BA92 #4D31BA
square
#BA3159 #9DBA31 #31BA92 #4D31BA
split-complementary
#BA3159 #31BA4D #319DBA
monochromatic
#59172B #8A2442 #BA3159 #D2567A #DF86A0
Accessibility & contrast
On white
5.72
#BA3159 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#BA3159 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3159
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3159 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3159 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53555A
Deuteranopia (green-blind)
#777056
Tritanopia (blue-blind)
#CB0F42
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba3159; /* rgb */ color: rgb(186, 49, 89); /* oklch */ color: oklch(53.4% 0.174 8.2);
Tailwind
colors: {
custom: {
50: '#d57487',
500: '#ba3159',
950: '#000000',
},
}SCSS
$custom: #ba3159; $custom-light: #d57487; $custom-dark: #000000;
JSON
{
"hex": "#ba3159",
"rgb": {
"r": 186,
"g": 49,
"b": 89
},
"hsl": {
"h": 342.482,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.53364,
"c": 0.17422,
"h": 8.2
},
"luminance": 0.13357
}Semantic roles & 50–950 ramp
primary
#BA3159
secondary
#7EC9B3
accent
#E2B446
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C