#BA5D8B#BA5D8B

#BA5D8B is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.3% C 0.131 H 350.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BA5D8B
RGBrgb(186, 93, 139)
HSLhsl(330, 40%, 55%)
HSVhsv(330, 50%, 73%)
CMYKcmyk(0%, 50%, 25.3%, 27.1%)
CIE-LABlab(51.99, 42.87, -8.10)
CIE-LCHlch(51.99, 43.63, 349.30°)
OKLaboklab(60.32% 0.1292 -0.021)
OKLCHoklch(60.32% 0.131 350.8)
XYZxyz(28.8251, 20.1343, 26.7893)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5D8B #5DBA8C
analogous
#BA5DB9 #BA5D8B #BA5E5D
triadic
#BA5D8B #8BBA5D #5D8BBA
tetradic
#BA5D8B #B9BA5D #5DBA8C #5E5DBA
square
#BA5D8B #B9BA5D #5DBA8C #5E5DBA
split-complementary
#BA5D8B #5DBA5E #5DB9BA
monochromatic
#6E2F4E #99416C #BA5D8B #CC88AA #DFB3C8

Accessibility & contrast

On white

4.18
#BA5D8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#BA5D8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5D8B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5D8B#FFFFFF#000000##000000
##BA5D8B1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#68728D
Deuteranopia (green-blind)
#808289
Tritanopia (blue-blind)
#C65A6E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba5d8b;
/* rgb */ color: rgb(186, 93, 139);
/* oklch */ color: oklch(60.3% 0.131 350.8);
Tailwind
colors: {
  custom: {
    50: '#d18eac',
    500: '#ba5d8b',
    950: '#000000',
  },
}
SCSS
$custom: #ba5d8b;
$custom-light: #d18eac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5d8b",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 139
  },
  "hsl": {
    "h": 330.323,
    "s": 40.26,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60316,
    "c": 0.13085,
    "h": 350.8
  },
  "luminance": 0.20132
}

Semantic roles & 50–950 ramp

primary
#BA5D8B
secondary
#A6CDBA
accent
#D09558
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C10
muted
#837D7F

Preview Lab

Preview with #BA5D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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