#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
RGBrgb(186, 81, 102)
HSLhsl(348, 43%, 52%)
HSVhsv(348, 56%, 73%)
CMYKcmyk(0%, 56.5%, 45.2%, 27.1%)
CIE-LABlab(48.62, 44.34, 9.15)
CIE-LCHlch(48.62, 45.27, 11.65°)
OKLaboklab(57.43% 0.1345 0.0238)
OKLCHoklch(57.43% 0.137 10)
XYZxyz(25.5921, 17.2861, 14.5566)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

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
##BA51661.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.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

Preview Lab

Preview with #BA5166

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BA5166 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva