#BA4286#BA4286

#BA4286 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.6% C 0.170 H 348.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BA4286
RGBrgb(186, 66, 134)
HSLhsl(326, 48%, 49%)
HSVhsv(326, 65%, 73%)
CMYKcmyk(0%, 64.5%, 28%, 27.1%)
CIE-LABlab(47.05, 54.87, -12.53)
CIE-LCHlch(47.05, 56.28, 347.14°)
OKLaboklab(56.59% 0.1665 -0.0328)
OKLCHoklch(56.59% 0.17 348.9)
XYZxyz(26.5021, 16.0595, 24.2537)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4286 #42BA76
analogous
#B242BA #BA4286 #BA424A
triadic
#BA4286 #86BA42 #4286BA
tetradic
#BA4286 #BAB242 #42BA76 #424ABA
square
#BA4286 #BAB242 #42BA76 #424ABA
split-complementary
#BA4286 #4ABA42 #42BAB2
monochromatic
#602245 #8D3265 #BA4286 #CB6EA3 #DB9BC0

Accessibility & contrast

On white

4.99
#BA4286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#BA4286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4286
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4286#FFFFFF#000000##FFFFFF
##BA42861.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516288
Deuteranopia (green-blind)
#737783
Tritanopia (blue-blind)
#C73D5E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4286;
/* rgb */ color: rgb(186, 66, 134);
/* oklch */ color: oklch(56.6% 0.170 348.9);
Tailwind
colors: {
  custom: {
    50: '#d27ea9',
    500: '#ba4286',
    950: '#000000',
  },
}
SCSS
$custom: #ba4286;
$custom-light: #d27ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4286",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 326,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56588,
    "c": 0.1697,
    "h": 348.9
  },
  "luminance": 0.16057
}

Semantic roles & 50–950 ramp

primary
#BA4286
secondary
#90C8A8
accent
#D78B51
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA4286

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

Preview Lab → · Contrast checker → · Palette generator →

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