#BA4085#BA4085

#BA4085 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.3% C 0.172 H 349.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BA4085
RGBrgb(186, 64, 133)
HSLhsl(326, 49%, 49%)
HSVhsv(326, 66%, 73%)
CMYKcmyk(0%, 65.6%, 28.5%, 27.1%)
CIE-LABlab(46.71, 55.57, -12.43)
CIE-LCHlch(46.71, 56.95, 347.39°)
OKLaboklab(56.33% 0.1688 -0.0325)
OKLCHoklch(56.33% 0.172 349.1)
XYZxyz(26.3179, 15.8021, 23.8499)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4085 #40BA75
analogous
#B240BA #BA4085 #BA4048
triadic
#BA4085 #85BA40 #4085BA
tetradic
#BA4085 #BAB240 #40BA75 #4048BA
square
#BA4085 #BAB240 #40BA75 #4048BA
split-complementary
#BA4085 #48BA40 #40BAB2
monochromatic
#5F2144 #8C3064 #BA4085 #CC6BA2 #DC99BF

Accessibility & contrast

On white

5.05
#BA4085 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#BA4085 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4085
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4085#FFFFFF#000000##FFFFFF
##BA40851.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506187
Deuteranopia (green-blind)
#737782
Tritanopia (blue-blind)
#C73B5D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4085;
/* rgb */ color: rgb(186, 64, 133);
/* oklch */ color: oklch(56.3% 0.172 349.1);
Tailwind
colors: {
  custom: {
    50: '#d27da8',
    500: '#ba4085',
    950: '#000000',
  },
}
SCSS
$custom: #ba4085;
$custom-light: #d27da8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4085",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 133
  },
  "hsl": {
    "h": 326.066,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56327,
    "c": 0.17191,
    "h": 349.1
  },
  "luminance": 0.15799
}

Semantic roles & 50–950 ramp

primary
#BA4085
secondary
#8EC8A7
accent
#D88B4F
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA4085

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

Preview Lab → · Contrast checker → · Palette generator →

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