#BA4091#BA4091

#BA4091 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.8% C 0.179 H 343.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA4091
RGBrgb(186, 64, 145)
HSLhsl(320, 49%, 49%)
HSVhsv(320, 66%, 73%)
CMYKcmyk(0%, 65.6%, 22%, 27.1%)
CIE-LABlab(47.17, 57.17, -18.97)
CIE-LCHlch(47.17, 60.23, 341.65°)
OKLaboklab(56.82% 0.1717 -0.0506)
OKLCHoklch(56.82% 0.179 343.6)
XYZxyz(27.1948, 16.1529, 28.4682)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4091 #40BA69
analogous
#A640BA #BA4091 #BA4054
triadic
#BA4091 #91BA40 #4091BA
tetradic
#BA4091 #BAA640 #40BA69 #4054BA
square
#BA4091 #BAA640 #40BA69 #4054BA
split-complementary
#BA4091 #54BA40 #40BAA6
monochromatic
#5F214A #8C306E #BA4091 #CC6BAC #DC99C5

Accessibility & contrast

On white

4.96
#BA4091 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#BA4091 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4091
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4091#FFFFFF#000000##FFFFFF
##BA40911.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6393
Deuteranopia (green-blind)
#6F778E
Tritanopia (blue-blind)
#C64063
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4091;
/* rgb */ color: rgb(186, 64, 145);
/* oklch */ color: oklch(56.8% 0.179 343.6);
Tailwind
colors: {
  custom: {
    50: '#d27db1',
    500: '#ba4091',
    950: '#000000',
  },
}
SCSS
$custom: #ba4091;
$custom-light: #d27db1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4091",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 320.164,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56816,
    "c": 0.17898,
    "h": 343.6
  },
  "luminance": 0.1615
}

Semantic roles & 50–950 ramp

primary
#BA4091
secondary
#8EC8A1
accent
#D87D4F
background
#FDF8FA
surface
#FAEFF5
border
#D3CACF
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA4091

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

Preview Lab → · Contrast checker → · Palette generator →

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