#BA4082#BA4082

#BA4082 is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.2% C 0.170 H 350.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BA4082
RGBrgb(186, 64, 130)
HSLhsl(328, 49%, 49%)
HSVhsv(328, 66%, 73%)
CMYKcmyk(0%, 65.6%, 30.1%, 27.1%)
CIE-LABlab(46.61, 55.20, -10.78)
CIE-LCHlch(46.61, 56.24, 348.95°)
OKLaboklab(56.21% 0.168 -0.028)
OKLCHoklch(56.21% 0.17 350.5)
XYZxyz(26.1136, 15.7204, 22.7739)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4082 #40BA78
analogous
#B540BA #BA4082 #BA4045
triadic
#BA4082 #82BA40 #4082BA
tetradic
#BA4082 #BAB540 #40BA78 #4045BA
square
#BA4082 #BAB540 #40BA78 #4045BA
split-complementary
#BA4082 #45BA40 #40BAB5
monochromatic
#5F2142 #8C3062 #BA4082 #CC6BA0 #DC99BD

Accessibility & contrast

On white

5.07
#BA4082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#BA4082 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4082
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4082#FFFFFF#000000##FFFFFF
##BA40821.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516184
Deuteranopia (green-blind)
#74767F
Tritanopia (blue-blind)
#C73A5B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ba4082;
/* rgb */ color: rgb(186, 64, 130);
/* oklch */ color: oklch(56.2% 0.170 350.5);
Tailwind
colors: {
  custom: {
    50: '#d37da6',
    500: '#ba4082',
    950: '#000000',
  },
}
SCSS
$custom: #ba4082;
$custom-light: #d37da6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4082",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 327.541,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56211,
    "c": 0.17031,
    "h": 350.5
  },
  "luminance": 0.15718
}

Semantic roles & 50–950 ramp

primary
#BA4082
secondary
#8EC8A9
accent
#D88E4F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA4082

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

Preview Lab → · Contrast checker → · Palette generator →

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