#BA5281#BA5281

#BA5281 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.4% C 0.143 H 354.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BA5281
RGBrgb(186, 82, 129)
HSLhsl(333, 43%, 53%)
HSVhsv(333, 56%, 73%)
CMYKcmyk(0%, 55.9%, 30.6%, 27.1%)
CIE-LABlab(49.57, 46.99, -5.74)
CIE-LCHlch(49.57, 47.34, 353.03°)
OKLaboklab(58.4% 0.1427 -0.0146)
OKLCHoklch(58.4% 0.143 354.2)
XYZxyz(27.2306, 18.0613, 22.8167)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5281 #52BA8B
analogous
#BA52B5 #BA5281 #BA5752
triadic
#BA5281 #81BA52 #5281BA
tetradic
#BA5281 #B5BA52 #52BA8B #5752BA
square
#BA5281 #B5BA52 #52BA8B #5752BA
split-complementary
#BA5281 #52BA57 #52B5BA
monochromatic
#682A46 #943B63 #BA5281 #CB7EA1 #DDAAC1

Accessibility & contrast

On white

4.55
#BA5281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BA5281 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5281
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5281#FFFFFF#000000##000000
##BA52811.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#616A82
Deuteranopia (green-blind)
#7C7D7F
Tritanopia (blue-blind)
#C74C64
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba5281;
/* rgb */ color: rgb(186, 82, 129);
/* oklch */ color: oklch(58.4% 0.143 354.2);
Tailwind
colors: {
  custom: {
    50: '#d287a5',
    500: '#ba5281',
    950: '#000000',
  },
}
SCSS
$custom: #ba5281;
$custom-light: #d287a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5281",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 332.885,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58399,
    "c": 0.14341,
    "h": 354.2
  },
  "luminance": 0.18059
}

Semantic roles & 50–950 ramp

primary
#BA5281
secondary
#9DCAB6
accent
#D39A55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA5281

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

Preview Lab → · Contrast checker → · Palette generator →

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