#BA316E#BA316E
#BA316E is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.180 H 358.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #BA316E |
|---|---|
| RGB | rgb(186, 49, 110) |
| HSL | hsl(333, 58%, 46%) |
| HSV | hsv(333, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 40.9%, 27.1%) |
| CIE-LAB | lab(43.89, 58.59, -2.57) |
| CIE-LCH | lch(43.89, 58.64, 357.49°) |
| OKLab | oklab(54% 0.1799 -0.006) |
| OKLCH | oklch(54% 0.18 358.1) |
| XYZ | xyz(24.1642, 13.7646, 16.1332) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.54
Magenta (survey)
#C20078
ΔE00 4.59
Mediumvioletred
#C71585
ΔE00 5.81
Dark Hot Pink
#D90166
ΔE00 6.23
Light Burgundy
#A8415B
ΔE00 6.61
Dark Pink
#CB416B
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA316E #31BA7D
analogous
#BA31B2 #BA316E #BA3931
triadic
#BA316E #6EBA31 #316EBA
tetradic
#BA316E #B2BA31 #31BA7D #3931BA
square
#BA316E #B2BA31 #31BA7D #3931BA
split-complementary
#BA316E #31BA39 #31B2BA
monochromatic
#591735 #8A2451 #BA316E #D2568D #DF86AE
Accessibility & contrast
On white
5.60
#BA316E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#BA316E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA316E
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA316E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA316E | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5770
Deuteranopia (green-blind)
#73716B
Tritanopia (blue-blind)
#C91E4B
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ba316e; /* rgb */ color: rgb(186, 49, 110); /* oklch */ color: oklch(54.0% 0.180 358.1);
Tailwind
colors: {
custom: {
50: '#d47597',
500: '#ba316e',
950: '#000000',
},
}SCSS
$custom: #ba316e; $custom-light: #d47597; $custom-dark: #000000;
JSON
{
"hex": "#ba316e",
"rgb": {
"r": 186,
"g": 49,
"b": 110
},
"hsl": {
"h": 333.285,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.53995,
"c": 0.17995,
"h": 358.1
},
"luminance": 0.13762
}Semantic roles & 50–950 ramp
primary
#BA316E
secondary
#7EC9A7
accent
#E29C46
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090D
muted
#837B7E