#BA5381#BA5381

#BA5381 is a mid, vivid pink. Relative luminance 0.182; OKLCH L 58.5% C 0.142 H 354.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BA5381
RGBrgb(186, 83, 129)
HSLhsl(333, 43%, 53%)
HSVhsv(333, 55%, 73%)
CMYKcmyk(0%, 55.4%, 30.6%, 27.1%)
CIE-LABlab(49.75, 46.50, -5.47)
CIE-LCHlch(49.75, 46.82, 353.29°)
OKLaboklab(58.54% 0.1412 -0.0138)
OKLCHoklch(58.54% 0.142 354.4)
XYZxyz(27.3066, 18.2132, 22.8420)
Luminance0.1821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5381 #53BA8C
analogous
#BA53B5 #BA5381 #BA5853
triadic
#BA5381 #81BA53 #5381BA
tetradic
#BA5381 #B5BA53 #53BA8C #5853BA
square
#BA5381 #B5BA53 #53BA8C #5853BA
split-complementary
#BA5381 #53BA58 #53B5BA
monochromatic
#692A46 #943B63 #BA5381 #CC7FA1 #DDAAC1

Accessibility & contrast

On white

4.52
#BA5381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#BA5381 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5381
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5381#FFFFFF#000000##000000
##BA53811.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#626B82
Deuteranopia (green-blind)
#7D7D7F
Tritanopia (blue-blind)
#C74D65
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba5381;
/* rgb */ color: rgb(186, 83, 129);
/* oklch */ color: oklch(58.5% 0.142 354.4);
Tailwind
colors: {
  custom: {
    50: '#d287a5',
    500: '#ba5381',
    950: '#000000',
  },
}
SCSS
$custom: #ba5381;
$custom-light: #d287a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5381",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 129
  },
  "hsl": {
    "h": 333.204,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58536,
    "c": 0.14186,
    "h": 354.4
  },
  "luminance": 0.18211
}

Semantic roles & 50–950 ramp

primary
#BA5381
secondary
#9ECBB7
accent
#D39B55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA5381

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

Preview Lab → · Contrast checker → · Palette generator →

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