#BA5DAA#BA5DAA

#BA5DAA is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.6% C 0.153 H 334.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BA5DAA
RGBrgb(186, 93, 170)
HSLhsl(310, 40%, 55%)
HSVhsv(310, 50%, 73%)
CMYKcmyk(0%, 50%, 8.6%, 27.1%)
CIE-LABlab(53.14, 47.71, -24.58)
CIE-LCHlch(53.14, 53.67, 332.75°)
OKLaboklab(61.55% 0.1374 -0.0666)
OKLCHoklch(61.55% 0.153 334.1)
XYZxyz(31.4197, 21.1721, 40.4541)
Luminance0.2117 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DAA #5DBA6D
analogous
#9C5DBA #BA5DAA #BA5D7B
triadic
#BA5DAA #AABA5D #5DAABA
tetradic
#BA5DAA #BA9C5D #5DBA6D #5D7BBA
square
#BA5DAA #BA9C5D #5DBA6D #5D7BBA
split-complementary
#BA5DAA #7BBA5D #5DBA9C
monochromatic
#6E2F63 #99418A #BA5DAA #CC88C1 #DFB3D7

Accessibility & contrast

On white

4.01
#BA5DAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#BA5DAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5DAA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5DAA#FFFFFF#000000##000000
##BA5DAA1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C76AD
Deuteranopia (green-blind)
#7784A7
Tritanopia (blue-blind)
#C1627C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba5daa;
/* rgb */ color: rgb(186, 93, 170);
/* oklch */ color: oklch(61.6% 0.153 334.1);
Tailwind
colors: {
  custom: {
    50: '#d18ec3',
    500: '#ba5daa',
    950: '#000000',
  },
}
SCSS
$custom: #ba5daa;
$custom-light: #d18ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5daa",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 170
  },
  "hsl": {
    "h": 310.323,
    "s": 40.26,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61551,
    "c": 0.15273,
    "h": 334.1
  },
  "luminance": 0.2117
}

Semantic roles & 50–950 ramp

primary
#BA5DAA
secondary
#A6CDAD
accent
#D06C58
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140D12
muted
#837D81

Preview Lab

Preview with #BA5DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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