#BA5162#BA5162
#BA5162 is a mid, vivid red. Relative luminance 0.172; OKLCH L 57.3% C 0.136 H 12.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5162 |
|---|---|
| RGB | rgb(186, 81, 98) |
| HSL | hsl(350, 43%, 52%) |
| HSV | hsv(350, 56%, 73%) |
| CMYK | cmyk(0%, 56.5%, 47.3%, 27.1%) |
| CIE-LAB | lab(48.52, 43.94, 11.42) |
| CIE-LCH | lch(48.52, 45.40, 14.57°) |
| OKLab | oklab(57.33% 0.133 0.0293) |
| OKLCH | oklch(57.33% 0.136 12.4) |
| XYZ | xyz(25.3985, 17.2087, 13.5370) |
| Luminance | 0.1721 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 2.64
Deep Rose
#C74767
ΔE00 3.50
Dark Pink
#CB416B
ΔE00 5.24
Dusty Red
#B9484E
ΔE00 5.33
Light Maroon
#A24857
ΔE00 5.83
Light Burgundy
#A8415B
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5162 #51BAA9
analogous
#BA5196 #BA5162 #BA7551
triadic
#BA5162 #62BA51 #5162BA
tetradic
#BA5162 #96BA51 #51BAA9 #7551BA
square
#BA5162 #96BA51 #51BAA9 #7551BA
split-complementary
#BA5162 #51BA75 #5196BA
monochromatic
#682933 #933A49 #BA5162 #CB7D8A #DDA9B1
Accessibility & contrast
On white
4.73
#BA5162 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#BA5162 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA5162
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5162 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA5162 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#676662
Deuteranopia (green-blind)
#827B60
Tritanopia (blue-blind)
#CA4357
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ba5162; /* rgb */ color: rgb(186, 81, 98); /* oklch */ color: oklch(57.3% 0.136 12.4);
Tailwind
colors: {
custom: {
50: '#d3868e',
500: '#ba5162',
950: '#000000',
},
}SCSS
$custom: #ba5162; $custom-light: #d3868e; $custom-dark: #000000;
JSON
{
"hex": "#ba5162",
"rgb": {
"r": 186,
"g": 81,
"b": 98
},
"hsl": {
"h": 350.286,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.5733,
"c": 0.13615,
"h": 12.4
},
"luminance": 0.17206
}Semantic roles & 50–950 ramp
primary
#BA5162
secondary
#9DCAC3
accent
#D3BF55
background
#FDF8F8
surface
#FBF0F0
border
#D4CBCB
text
#150B0C
muted
#837C7D