#BA5893#BA5893

#BA5893 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 59.9% C 0.144 H 345.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA5893
RGBrgb(186, 88, 147)
HSLhsl(324, 42%, 54%)
HSVhsv(324, 53%, 73%)
CMYKcmyk(0%, 52.7%, 21%, 27.1%)
CIE-LABlab(51.30, 46.55, -13.88)
CIE-LCHlch(51.30, 48.58, 343.40°)
OKLaboklab(59.89% 0.1391 -0.0367)
OKLCHoklch(59.89% 0.144 345.2)
XYZxyz(29.0066, 19.5275, 29.8396)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5893 #58BA7F
analogous
#B058BA #BA5893 #BA5862
triadic
#BA5893 #93BA58 #5893BA
tetradic
#BA5893 #BAB058 #58BA7F #5862BA
square
#BA5893 #BAB058 #58BA7F #5862BA
split-complementary
#BA5893 #62BA58 #58BAB0
monochromatic
#6B2C52 #973E73 #BA5893 #CC83AF #DEAFCB

Accessibility & contrast

On white

4.28
#BA5893 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#BA5893 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5893
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5893#FFFFFF#000000##000000
##BA58931.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#607095
Deuteranopia (green-blind)
#7B8091
Tritanopia (blue-blind)
#C5576F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba5893;
/* rgb */ color: rgb(186, 88, 147);
/* oklch */ color: oklch(59.9% 0.144 345.2);
Tailwind
colors: {
  custom: {
    50: '#d18bb2',
    500: '#ba5893',
    950: '#000000',
  },
}
SCSS
$custom: #ba5893;
$custom-light: #d18bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5893",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 147
  },
  "hsl": {
    "h": 323.878,
    "s": 41.525,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59891,
    "c": 0.1439,
    "h": 345.2
  },
  "luminance": 0.19525
}

Semantic roles & 50–950 ramp

primary
#BA5893
secondary
#A2CCB3
accent
#D18756
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA5893

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

Preview Lab → · Contrast checker → · Palette generator →

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