#BA315A#BA315A
#BA315A is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.4% C 0.174 H 7.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #BA315A |
|---|---|
| RGB | rgb(186, 49, 90) |
| HSL | hsl(342, 58%, 46%) |
| HSV | hsv(342, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 51.6%, 27.1%) |
| CIE-LAB | lab(43.33, 56.74, 9.05) |
| CIE-LCH | lch(43.33, 57.46, 9.06°) |
| OKLab | oklab(53.39% 0.1728 0.0234) |
| OKLCH | oklch(53.39% 0.174 7.7) |
| XYZ | xyz(23.1955, 13.3771, 11.0315) |
| Luminance | 0.1337 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.78
Deep Pink
#CB0162
ΔE00 4.37
Dark Rose
#B5485D
ΔE00 4.41
Purplish Red
#B0054B
ΔE00 5.34
Dark Pink
#CB416B
ΔE00 5.51
Raspberry (survey)
#B00149
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA315A #31BA91
analogous
#BA319E #BA315A #BA4C31
triadic
#BA315A #5ABA31 #315ABA
tetradic
#BA315A #9EBA31 #31BA91 #4C31BA
square
#BA315A #9EBA31 #31BA91 #4C31BA
split-complementary
#BA315A #31BA4C #319EBA
monochromatic
#59172B #8A2443 #BA315A #D2567B #DF86A1
Accessibility & contrast
On white
5.71
#BA315A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#BA315A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA315A
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA315A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA315A | 1.00 | 5.71 | 3.67 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53555B
Deuteranopia (green-blind)
#777057
Tritanopia (blue-blind)
#CB1042
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba315a; /* rgb */ color: rgb(186, 49, 90); /* oklch */ color: oklch(53.4% 0.174 7.7);
Tailwind
colors: {
custom: {
50: '#d57488',
500: '#ba315a',
950: '#000000',
},
}SCSS
$custom: #ba315a; $custom-light: #d57488; $custom-dark: #000000;
JSON
{
"hex": "#ba315a",
"rgb": {
"r": 186,
"g": 49,
"b": 90
},
"hsl": {
"h": 342.044,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.53391,
"c": 0.17439,
"h": 7.7
},
"luminance": 0.13374
}Semantic roles & 50–950 ramp
primary
#BA315A
secondary
#7EC9B2
accent
#E2B346
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C