#BA5284#BA5284

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

Color values

HEX#BA5284
RGBrgb(186, 82, 132)
HSLhsl(331, 43%, 53%)
HSVhsv(331, 56%, 73%)
CMYKcmyk(0%, 55.9%, 29%, 27.1%)
CIE-LABlab(49.67, 47.38, -7.39)
CIE-LCHlch(49.67, 47.95, 351.13°)
OKLaboklab(58.51% 0.1436 -0.019)
OKLCHoklch(58.51% 0.145 352.5)
XYZxyz(27.4330, 18.1422, 23.8824)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5284 #52BA88
analogous
#BA52B8 #BA5284 #BA5452
triadic
#BA5284 #84BA52 #5284BA
tetradic
#BA5284 #B8BA52 #52BA88 #5452BA
square
#BA5284 #B8BA52 #52BA88 #5452BA
split-complementary
#BA5284 #52BA54 #52B8BA
monochromatic
#682A48 #943B66 #BA5284 #CB7EA3 #DDAAC2

Accessibility & contrast

On white

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

On black

4.63
#BA5284 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5284
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5284#FFFFFF#000000##000000
##BA52841.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba5284;
/* rgb */ color: rgb(186, 82, 132);
/* oklch */ color: oklch(58.5% 0.145 352.5);
Tailwind
colors: {
  custom: {
    50: '#d287a7',
    500: '#ba5284',
    950: '#000000',
  },
}
SCSS
$custom: #ba5284;
$custom-light: #d287a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5284",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 132
  },
  "hsl": {
    "h": 331.154,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58505,
    "c": 0.14487,
    "h": 352.5
  },
  "luminance": 0.1814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5284

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

Preview Lab → · Contrast checker → · Palette generator →

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