#BA4296#BA4296

#BA4296 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.3% C 0.179 H 341.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA4296
RGBrgb(186, 66, 150)
HSLhsl(318, 48%, 49%)
HSVhsv(318, 65%, 73%)
CMYKcmyk(0%, 64.5%, 19.4%, 27.1%)
CIE-LABlab(47.68, 57.05, -21.19)
CIE-LCHlch(47.68, 60.86, 339.62°)
OKLaboklab(57.25% 0.1702 -0.0568)
OKLCHoklch(57.25% 0.179 341.5)
XYZxyz(27.7037, 16.5401, 30.5818)
Luminance0.1654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4296 #42BA66
analogous
#A242BA #BA4296 #BA425A
triadic
#BA4296 #96BA42 #4296BA
tetradic
#BA4296 #BAA242 #42BA66 #425ABA
square
#BA4296 #BAA242 #42BA66 #425ABA
split-complementary
#BA4296 #5ABA42 #42BAA2
monochromatic
#60224D #8D3272 #BA4296 #CB6EAF #DB9BC8

Accessibility & contrast

On white

4.88
#BA4296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#BA4296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4296
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4296#FFFFFF#000000##FFFFFF
##BA42961.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6599
Deuteranopia (green-blind)
#6F7893
Tritanopia (blue-blind)
#C54466
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba4296;
/* rgb */ color: rgb(186, 66, 150);
/* oklch */ color: oklch(57.3% 0.179 341.5);
Tailwind
colors: {
  custom: {
    50: '#d27eb5',
    500: '#ba4296',
    950: '#000000',
  },
}
SCSS
$custom: #ba4296;
$custom-light: #d27eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4296",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 150
  },
  "hsl": {
    "h": 318,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5725,
    "c": 0.17947,
    "h": 341.5
  },
  "luminance": 0.16538
}

Semantic roles & 50–950 ramp

primary
#BA4296
secondary
#90C8A1
accent
#D77951
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80

Preview Lab

Preview with #BA4296

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

Preview Lab → · Contrast checker → · Palette generator →

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