#BA5481#BA5481

#BA5481 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 58.7% C 0.140 H 354.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA5481
RGBrgb(186, 84, 129)
HSLhsl(334, 43%, 53%)
HSVhsv(334, 55%, 73%)
CMYKcmyk(0%, 54.8%, 30.6%, 27.1%)
CIE-LABlab(49.94, 46.02, -5.20)
CIE-LCHlch(49.94, 46.31, 353.56°)
OKLaboklab(58.68% 0.1397 -0.0131)
OKLCHoklch(58.68% 0.14 354.6)
XYZxyz(27.3837, 18.3673, 22.8677)
Luminance0.1837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5481 #54BA8D
analogous
#BA54B4 #BA5481 #BA5A54
triadic
#BA5481 #81BA54 #5481BA
tetradic
#BA5481 #B4BA54 #54BA8D #5A54BA
square
#BA5481 #B4BA54 #54BA8D #5A54BA
split-complementary
#BA5481 #54BA5A #54B4BA
monochromatic
#692A46 #953C63 #BA5481 #CC80A1 #DDABC1

Accessibility & contrast

On white

4.49
#BA5481 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#BA5481 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5481
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5481#FFFFFF#000000##000000
##BA54811.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#626B82
Deuteranopia (green-blind)
#7D7E7F
Tritanopia (blue-blind)
#C74E65
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba5481;
/* rgb */ color: rgb(186, 84, 129);
/* oklch */ color: oklch(58.7% 0.140 354.6);
Tailwind
colors: {
  custom: {
    50: '#d288a5',
    500: '#ba5481',
    950: '#000000',
  },
}
SCSS
$custom: #ba5481;
$custom-light: #d288a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5481",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 129
  },
  "hsl": {
    "h": 333.529,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58675,
    "c": 0.14029,
    "h": 354.6
  },
  "luminance": 0.18365
}

Semantic roles & 50–950 ramp

primary
#BA5481
secondary
#9FCBB7
accent
#D29B56
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140C0F
muted
#837D7F

Preview Lab

Preview with #BA5481

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

Preview Lab → · Contrast checker → · Palette generator →

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