#BA5283#BA5283

#BA5283 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.5% C 0.144 H 353.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BA5283
RGBrgb(186, 82, 131)
HSLhsl(332, 43%, 53%)
HSVhsv(332, 56%, 73%)
CMYKcmyk(0%, 55.9%, 29.6%, 27.1%)
CIE-LABlab(49.64, 47.25, -6.84)
CIE-LCHlch(49.64, 47.74, 351.76°)
OKLaboklab(58.47% 0.1433 -0.0175)
OKLCHoklch(58.47% 0.144 353)
XYZxyz(27.3649, 18.1150, 23.5237)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5283 #52BA89
analogous
#BA52B7 #BA5283 #BA5552
triadic
#BA5283 #83BA52 #5283BA
tetradic
#BA5283 #B7BA52 #52BA89 #5552BA
square
#BA5283 #B7BA52 #52BA89 #5552BA
split-complementary
#BA5283 #52BA55 #52B7BA
monochromatic
#682A47 #943B65 #BA5283 #CB7EA2 #DDAAC2

Accessibility & contrast

On white

4.54
#BA5283 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#BA5283 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5283
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5283#FFFFFF#000000##000000
##BA52831.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#606A85
Deuteranopia (green-blind)
#7C7D81
Tritanopia (blue-blind)
#C74D65
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba5283;
/* rgb */ color: rgb(186, 82, 131);
/* oklch */ color: oklch(58.5% 0.144 353.0);
Tailwind
colors: {
  custom: {
    50: '#d287a7',
    500: '#ba5283',
    950: '#000000',
  },
}
SCSS
$custom: #ba5283;
$custom-light: #d287a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5283",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 131
  },
  "hsl": {
    "h": 331.731,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58469,
    "c": 0.14438,
    "h": 353
  },
  "luminance": 0.18112
}

Semantic roles & 50–950 ramp

primary
#BA5283
secondary
#9DCAB5
accent
#D39855
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA5283

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

Preview Lab → · Contrast checker → · Palette generator →

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