#BA5082#BA5082

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

Color values

HEX#BA5082
RGBrgb(186, 80, 130)
HSLhsl(332, 43%, 52%)
HSVhsv(332, 57%, 73%)
CMYKcmyk(0%, 57%, 30.1%, 27.1%)
CIE-LABlab(49.24, 48.07, -6.83)
CIE-LCHlch(49.24, 48.56, 351.91°)
OKLaboklab(58.17% 0.1459 -0.0175)
OKLCHoklch(58.17% 0.147 353.2)
XYZxyz(27.1488, 17.7908, 23.1189)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5082 #50BA88
analogous
#BA50B7 #BA5082 #BA5350
triadic
#BA5082 #82BA50 #5082BA
tetradic
#BA5082 #B7BA50 #50BA88 #5350BA
square
#BA5082 #B7BA50 #50BA88 #5350BA
split-complementary
#BA5082 #50BA53 #50B7BA
monochromatic
#672946 #933A64 #BA5082 #CB7CA1 #DDA8C1

Accessibility & contrast

On white

4.61
#BA5082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BA5082 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA5082
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5082#FFFFFF#000000##FFFFFF
##BA50821.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6984
Deuteranopia (green-blind)
#7B7C7F
Tritanopia (blue-blind)
#C74A63
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba5082;
/* rgb */ color: rgb(186, 80, 130);
/* oklch */ color: oklch(58.2% 0.147 353.2);
Tailwind
colors: {
  custom: {
    50: '#d286a6',
    500: '#ba5082',
    950: '#000000',
  },
}
SCSS
$custom: #ba5082;
$custom-light: #d286a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5082",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 130
  },
  "hsl": {
    "h": 331.698,
    "s": 43.443,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58165,
    "c": 0.14698,
    "h": 353.2
  },
  "luminance": 0.17788
}

Semantic roles & 50–950 ramp

primary
#BA5082
secondary
#9CCAB4
accent
#D39755
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B0F
muted
#837C7F

Preview Lab

Preview with #BA5082

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

Preview Lab → · Contrast checker → · Palette generator →

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