#BA3862#BA3862
#BA3862 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.3% C 0.168 H 5.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3862 |
|---|---|
| RGB | rgb(186, 56, 98) |
| HSL | hsl(341, 54%, 47%) |
| HSV | hsv(341, 70%, 73%) |
| CMYK | cmyk(0%, 69.9%, 47.3%, 27.1%) |
| CIE-LAB | lab(44.45, 54.90, 5.67) |
| CIE-LCH | lch(44.45, 55.19, 5.90°) |
| OKLab | oklab(54.29% 0.1676 0.0151) |
| OKLCH | oklch(54.29% 0.168 5.1) |
| XYZ | xyz(23.8704, 14.1524, 13.0276) |
| Luminance | 0.1415 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.78
Deep Pink
#CB0162
ΔE00 4.31
Dark Rose
#B5485D
ΔE00 4.44
Dark Pink
#CB416B
ΔE00 4.45
Deep Rose
#C74767
ΔE00 4.91
Dark Hot Pink
#D90166
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3862 #38BA90
analogous
#BA38A3 #BA3862 #BA4F38
triadic
#BA3862 #62BA38 #3862BA
tetradic
#BA3862 #A3BA38 #38BA90 #4F38BA
square
#BA3862 #A3BA38 #38BA90 #4F38BA
split-complementary
#BA3862 #38BA4F #38A3BA
monochromatic
#5C1C30 #8B2A49 #BA3862 #CF6084 #DD8FA8
Accessibility & contrast
On white
5.48
#BA3862 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#BA3862 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3862
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3862 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3862 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555963
Deuteranopia (green-blind)
#78735F
Tritanopia (blue-blind)
#CA2249
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #ba3862; /* rgb */ color: rgb(186, 56, 98); /* oklch */ color: oklch(54.3% 0.168 5.1);
Tailwind
colors: {
custom: {
50: '#d4788e',
500: '#ba3862',
950: '#000000',
},
}SCSS
$custom: #ba3862; $custom-light: #d4788e; $custom-dark: #000000;
JSON
{
"hex": "#ba3862",
"rgb": {
"r": 186,
"g": 56,
"b": 98
},
"hsl": {
"h": 340.615,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.54291,
"c": 0.16832,
"h": 5.1
},
"luminance": 0.14149
}Semantic roles & 50–950 ramp
primary
#BA3862
secondary
#86C8B3
accent
#DDAE4B
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D