#BA3162#BA3162
#BA3162 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.176 H 3.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3162 |
|---|---|
| RGB | rgb(186, 49, 98) |
| HSL | hsl(339, 58%, 46%) |
| HSV | hsv(339, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 47.3%, 27.1%) |
| CIE-LAB | lab(43.54, 57.43, 4.37) |
| CIE-LCH | lch(43.54, 57.60, 4.35°) |
| OKLab | oklab(53.62% 0.1758 0.0118) |
| OKLCH | oklch(53.62% 0.176 3.8) |
| XYZ | xyz(23.5546, 13.5207, 12.9223) |
| Luminance | 0.1352 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 3.47
Light Burgundy
#A8415B
ΔE00 4.37
Dark Hot Pink
#D90166
ΔE00 5.23
Dark Pink
#CB416B
ΔE00 5.36
Dark Rose
#B5485D
ΔE00 5.69
Purplish Red
#B0054B
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3162 #31BA89
analogous
#BA31A6 #BA3162 #BA4431
triadic
#BA3162 #62BA31 #3162BA
tetradic
#BA3162 #A6BA31 #31BA89 #4431BA
square
#BA3162 #A6BA31 #31BA89 #4431BA
split-complementary
#BA3162 #31BA44 #31A6BA
monochromatic
#59172F #8A2448 #BA3162 #D25682 #DF86A6
Accessibility & contrast
On white
5.67
#BA3162 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#BA3162 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3162
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3162 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3162 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515663
Deuteranopia (green-blind)
#75715F
Tritanopia (blue-blind)
#CA1646
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba3162; /* rgb */ color: rgb(186, 49, 98); /* oklch */ color: oklch(53.6% 0.176 3.8);
Tailwind
colors: {
custom: {
50: '#d4758e',
500: '#ba3162',
950: '#000000',
},
}SCSS
$custom: #ba3162; $custom-light: #d4758e; $custom-dark: #000000;
JSON
{
"hex": "#ba3162",
"rgb": {
"r": 186,
"g": 49,
"b": 98
},
"hsl": {
"h": 338.54,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.53616,
"c": 0.17616,
"h": 3.8
},
"luminance": 0.13518
}Semantic roles & 50–950 ramp
primary
#BA3162
secondary
#7EC9AE
accent
#E2AA46
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15090C
muted
#837B7D