#BA5084#BA5084

#BA5084 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.2% C 0.148 H 352.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA5084
RGBrgb(186, 80, 132)
HSLhsl(331, 43%, 52%)
HSVhsv(331, 57%, 73%)
CMYKcmyk(0%, 57%, 29%, 27.1%)
CIE-LABlab(49.31, 48.34, -7.93)
CIE-LCHlch(49.31, 48.98, 350.68°)
OKLaboklab(58.24% 0.1466 -0.0204)
OKLCHoklch(58.24% 0.148 352.1)
XYZxyz(27.2844, 17.8450, 23.8328)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5084 #50BA86
analogous
#BA50B9 #BA5084 #BA5150
triadic
#BA5084 #84BA50 #5084BA
tetradic
#BA5084 #B9BA50 #50BA86 #5150BA
square
#BA5084 #B9BA50 #50BA86 #5150BA
split-complementary
#BA5084 #50BA51 #50B9BA
monochromatic
#672947 #933A66 #BA5084 #CB7CA3 #DDA8C2

Accessibility & contrast

On white

4.60
#BA5084 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BA5084 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5084
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5084#FFFFFF#000000##FFFFFF
##BA50841.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6986
Deuteranopia (green-blind)
#7B7C81
Tritanopia (blue-blind)
#C74B64
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba5084;
/* rgb */ color: rgb(186, 80, 132);
/* oklch */ color: oklch(58.2% 0.148 352.1);
Tailwind
colors: {
  custom: {
    50: '#d286a7',
    500: '#ba5084',
    950: '#000000',
  },
}
SCSS
$custom: #ba5084;
$custom-light: #d286a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5084",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 132
  },
  "hsl": {
    "h": 330.566,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58236,
    "c": 0.14799,
    "h": 352.1
  },
  "luminance": 0.17842
}

Semantic roles & 50–950 ramp

primary
#BA5084
secondary
#9CCAB3
accent
#D39555
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #BA5084

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

Preview Lab → · Contrast checker → · Palette generator →

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