#BA5482#BA5482

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

Color values

HEX#BA5482
RGBrgb(186, 84, 130)
HSLhsl(333, 43%, 53%)
HSVhsv(333, 55%, 73%)
CMYKcmyk(0%, 54.8%, 30.1%, 27.1%)
CIE-LABlab(49.97, 46.15, -5.75)
CIE-LCHlch(49.97, 46.50, 352.90°)
OKLaboklab(58.71% 0.14 -0.0146)
OKLCHoklch(58.71% 0.141 354)
XYZxyz(27.4505, 18.3941, 23.2195)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5482 #54BA8C
analogous
#BA54B5 #BA5482 #BA5954
triadic
#BA5482 #82BA54 #5482BA
tetradic
#BA5482 #B5BA54 #54BA8C #5954BA
square
#BA5482 #B5BA54 #54BA8C #5954BA
split-complementary
#BA5482 #54BA59 #54B5BA
monochromatic
#692A47 #953C64 #BA5482 #CC80A2 #DDABC2

Accessibility & contrast

On white

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

On black

4.68
#BA5482 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5482
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5482#FFFFFF#000000##000000
##BA54821.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba5482;
/* rgb */ color: rgb(186, 84, 130);
/* oklch */ color: oklch(58.7% 0.141 354.0);
Tailwind
colors: {
  custom: {
    50: '#d288a6',
    500: '#ba5482',
    950: '#000000',
  },
}
SCSS
$custom: #ba5482;
$custom-light: #d288a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5482",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 130
  },
  "hsl": {
    "h": 332.941,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58709,
    "c": 0.14077,
    "h": 354
  },
  "luminance": 0.18391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5482

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

Preview Lab → · Contrast checker → · Palette generator →

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