#BA5182#BA5182

#BA5182 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.3% C 0.145 H 353.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BA5182
RGBrgb(186, 81, 130)
HSLhsl(332, 43%, 52%)
HSVhsv(332, 56%, 73%)
CMYKcmyk(0%, 56.5%, 30.1%, 27.1%)
CIE-LABlab(49.42, 47.60, -6.56)
CIE-LCHlch(49.42, 48.05, 352.15°)
OKLaboklab(58.3% 0.1445 -0.0168)
OKLCHoklch(58.3% 0.145 353.4)
XYZxyz(27.2226, 17.9383, 23.1435)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5182 #51BA89
analogous
#BA51B7 #BA5182 #BA5551
triadic
#BA5182 #82BA51 #5182BA
tetradic
#BA5182 #B7BA51 #51BA89 #5551BA
square
#BA5182 #B7BA51 #51BA89 #5551BA
split-complementary
#BA5182 #51BA55 #51B7BA
monochromatic
#682946 #933A64 #BA5182 #CB7DA1 #DDA9C1

Accessibility & contrast

On white

4.58
#BA5182 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#BA5182 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5182
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5182#FFFFFF#000000##000000
##BA51821.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba5182;
/* rgb */ color: rgb(186, 81, 130);
/* oklch */ color: oklch(58.3% 0.145 353.4);
Tailwind
colors: {
  custom: {
    50: '#d286a6',
    500: '#ba5182',
    950: '#000000',
  },
}
SCSS
$custom: #ba5182;
$custom-light: #d286a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5182",
  "rgb": {
    "r": 186,
    "g": 81,
    "b": 130
  },
  "hsl": {
    "h": 332,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58299,
    "c": 0.14544,
    "h": 353.4
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#BA5182
secondary
#9DCAB5
accent
#D39855
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #BA5182

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

Preview Lab → · Contrast checker → · Palette generator →

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