#BA4092#BA4092

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

Color values

HEX#BA4092
RGBrgb(186, 64, 146)
HSLhsl(320, 49%, 49%)
HSVhsv(320, 66%, 73%)
CMYKcmyk(0%, 65.6%, 21.5%, 27.1%)
CIE-LABlab(47.21, 57.31, -19.50)
CIE-LCHlch(47.21, 60.54, 341.20°)
OKLaboklab(56.86% 0.1719 -0.0521)
OKLCHoklch(56.86% 0.18 343.1)
XYZxyz(27.2723, 16.1838, 28.8760)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4092 #40BA68
analogous
#A540BA #BA4092 #BA4055
triadic
#BA4092 #92BA40 #4092BA
tetradic
#BA4092 #BAA540 #40BA68 #4055BA
square
#BA4092 #BAA540 #40BA68 #4055BA
split-complementary
#BA4092 #55BA40 #40BAA5
monochromatic
#5F214B #8C306E #BA4092 #CC6BAC #DC99C6

Accessibility & contrast

On white

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

On black

4.24
#BA4092 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA4092#FFFFFF#000000##FFFFFF
##BA40921.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6394
Deuteranopia (green-blind)
#6F778F
Tritanopia (blue-blind)
#C54063
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4092;
/* rgb */ color: rgb(186, 64, 146);
/* oklch */ color: oklch(56.9% 0.180 343.1);
Tailwind
colors: {
  custom: {
    50: '#d27db2',
    500: '#ba4092',
    950: '#000000',
  },
}
SCSS
$custom: #ba4092;
$custom-light: #d27db2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4092",
  "rgb": {
    "r": 186,
    "g": 64,
    "b": 146
  },
  "hsl": {
    "h": 319.672,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56859,
    "c": 0.17961,
    "h": 343.1
  },
  "luminance": 0.16181
}

Semantic roles & 50–950 ramp

primary
#BA4092
secondary
#8EC8A1
accent
#D87C4F
background
#FDF8FA
surface
#FAEFF5
border
#D3CACF
text
#150A11
muted
#837C80

Preview Lab

Preview with #BA4092

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

Preview Lab → · Contrast checker → · Palette generator →

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