#BA5166#BA5166
#BA5166 is a mid, vivid red. Relative luminance 0.173; OKLCH L 57.4% C 0.137 H 10.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5166 |
|---|---|
| RGB | rgb(186, 81, 102) |
| HSL | hsl(348, 43%, 52%) |
| HSV | hsv(348, 56%, 73%) |
| CMYK | cmyk(0%, 56.5%, 45.2%, 27.1%) |
| CIE-LAB | lab(48.62, 44.34, 9.15) |
| CIE-LCH | lch(48.62, 45.27, 11.65°) |
| OKLab | oklab(57.43% 0.1345 0.0238) |
| OKLCH | oklch(57.43% 0.137 10) |
| XYZ | xyz(25.5921, 17.2861, 14.5566) |
| Luminance | 0.1728 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 2.76
Deep Rose
#C74767
ΔE00 2.88
Dark Pink
#CB416B
ΔE00 4.40
Light Burgundy
#A8415B
ΔE00 5.93
Light Maroon
#A24857
ΔE00 5.97
Dusky Rose
#BA6873
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5166 #51BAA5
analogous
#BA519B #BA5166 #BA7151
triadic
#BA5166 #66BA51 #5166BA
tetradic
#BA5166 #9BBA51 #51BAA5 #7151BA
square
#BA5166 #9BBA51 #51BAA5 #7151BA
split-complementary
#BA5166 #51BA71 #519BBA
monochromatic
#682936 #933A4C #BA5166 #CB7D8D #DDA9B3
Accessibility & contrast
On white
4.71
#BA5166 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#BA5166 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA5166
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA5166 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#666666
Deuteranopia (green-blind)
#817B64
Tritanopia (blue-blind)
#C94459
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ba5166; /* rgb */ color: rgb(186, 81, 102); /* oklch */ color: oklch(57.4% 0.137 10.0);
Tailwind
colors: {
custom: {
50: '#d38691',
500: '#ba5166',
950: '#000000',
},
}SCSS
$custom: #ba5166; $custom-light: #d38691; $custom-dark: #000000;
JSON
{
"hex": "#ba5166",
"rgb": {
"r": 186,
"g": 81,
"b": 102
},
"hsl": {
"h": 348,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.57434,
"c": 0.13659,
"h": 10
},
"luminance": 0.17283
}Semantic roles & 50–950 ramp
primary
#BA5166
secondary
#9DCAC1
accent
#D3BA55
background
#FDF8F8
surface
#FBF0F0
border
#D4CBCB
text
#150B0C
muted
#837C7D