#BA5293#BA5293

#BA5293 is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.1% C 0.154 H 344.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA5293
RGBrgb(186, 82, 147)
HSLhsl(323, 43%, 53%)
HSVhsv(323, 56%, 73%)
CMYKcmyk(0%, 55.9%, 21%, 27.1%)
CIE-LABlab(50.20, 49.47, -15.55)
CIE-LCHlch(50.20, 51.86, 342.55°)
OKLaboklab(59.07% 0.1479 -0.0413)
OKLCHoklch(59.07% 0.154 344.4)
XYZxyz(28.5342, 18.5827, 29.6821)
Luminance0.1858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5293 #52BA79
analogous
#AD52BA #BA5293 #BA525F
triadic
#BA5293 #93BA52 #5293BA
tetradic
#BA5293 #BAAD52 #52BA79 #525FBA
square
#BA5293 #BAAD52 #52BA79 #525FBA
split-complementary
#BA5293 #5FBA52 #52BAAD
monochromatic
#682A51 #943B73 #BA5293 #CB7EAE #DDAACA

Accessibility & contrast

On white

4.45
#BA5293 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BA5293 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5293
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5293#FFFFFF#000000##000000
##BA52931.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6D95
Deuteranopia (green-blind)
#787E90
Tritanopia (blue-blind)
#C5516C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba5293;
/* rgb */ color: rgb(186, 82, 147);
/* oklch */ color: oklch(59.1% 0.154 344.4);
Tailwind
colors: {
  custom: {
    50: '#d187b2',
    500: '#ba5293',
    950: '#000000',
  },
}
SCSS
$custom: #ba5293;
$custom-light: #d187b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5293",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 322.5,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5907,
    "c": 0.15359,
    "h": 344.4
  },
  "luminance": 0.1858
}

Semantic roles & 50–950 ramp

primary
#BA5293
secondary
#9DCAAE
accent
#D38455
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80

Preview Lab

Preview with #BA5293

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

Preview Lab → · Contrast checker → · Palette generator →

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