#BA5D9D#BA5D9D

#BA5D9D is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.0% C 0.143 H 340.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BA5D9D
RGBrgb(186, 93, 157)
HSLhsl(319, 40%, 55%)
HSVhsv(319, 50%, 73%)
CMYKcmyk(0%, 50%, 15.6%, 27.1%)
CIE-LABlab(52.62, 45.58, -17.76)
CIE-LCHlch(52.62, 48.92, 338.71°)
OKLaboklab(61% 0.1344 -0.0475)
OKLCHoklch(61% 0.143 340.5)
XYZxyz(30.2503, 20.7043, 34.2948)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5D9D #5DBA7A
analogous
#A95DBA #BA5D9D #BA5D6E
triadic
#BA5D9D #9DBA5D #5D9DBA
tetradic
#BA5D9D #BAA95D #5DBA7A #5D6EBA
square
#BA5D9D #BAA95D #5DBA7A #5D6EBA
split-complementary
#BA5D9D #6EBA5D #5DBAA9
monochromatic
#6E2F5A #99417D #BA5D9D #CC88B7 #DFB3D1

Accessibility & contrast

On white

4.09
#BA5D9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#BA5D9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5D9D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5D9D#FFFFFF#000000##000000
##BA5D9D1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#62749F
Deuteranopia (green-blind)
#7B839B
Tritanopia (blue-blind)
#C35E76
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba5d9d;
/* rgb */ color: rgb(186, 93, 157);
/* oklch */ color: oklch(61.0% 0.143 340.5);
Tailwind
colors: {
  custom: {
    50: '#d18eba',
    500: '#ba5d9d',
    950: '#000000',
  },
}
SCSS
$custom: #ba5d9d;
$custom-light: #d18eba;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5d9d",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 157
  },
  "hsl": {
    "h": 318.71,
    "s": 40.26,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61001,
    "c": 0.14251,
    "h": 340.5
  },
  "luminance": 0.20702
}

Semantic roles & 50–950 ramp

primary
#BA5D9D
secondary
#A6CDB2
accent
#D07D58
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA5D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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