#BA4281#BA4281

#BA4281 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.4% C 0.167 H 351.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BA4281
RGBrgb(186, 66, 129)
HSLhsl(329, 48%, 49%)
HSVhsv(329, 65%, 73%)
CMYKcmyk(0%, 64.5%, 30.6%, 27.1%)
CIE-LABlab(46.87, 54.24, -9.77)
CIE-LCHlch(46.87, 55.11, 349.79°)
OKLaboklab(56.4% 0.1651 -0.0253)
OKLCHoklch(56.4% 0.167 351.3)
XYZxyz(26.1616, 15.9233, 22.4604)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4281 #42BA7B
analogous
#B742BA #BA4281 #BA4245
triadic
#BA4281 #81BA42 #4281BA
tetradic
#BA4281 #BAB742 #42BA7B #4245BA
square
#BA4281 #BAB742 #42BA7B #4245BA
split-complementary
#BA4281 #45BA42 #42BAB7
monochromatic
#602242 #8D3262 #BA4281 #CB6E9F #DB9BBD

Accessibility & contrast

On white

5.02
#BA4281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BA4281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4281
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4281#FFFFFF#000000##FFFFFF
##BA42811.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536283
Deuteranopia (green-blind)
#75777E
Tritanopia (blue-blind)
#C73C5C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba4281;
/* rgb */ color: rgb(186, 66, 129);
/* oklch */ color: oklch(56.4% 0.167 351.3);
Tailwind
colors: {
  custom: {
    50: '#d37ea5',
    500: '#ba4281',
    950: '#000000',
  },
}
SCSS
$custom: #ba4281;
$custom-light: #d37ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4281",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 328.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56397,
    "c": 0.16705,
    "h": 351.3
  },
  "luminance": 0.15921
}

Semantic roles & 50–950 ramp

primary
#BA4281
secondary
#90C8AB
accent
#D79151
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA4281

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

Preview Lab → · Contrast checker → · Palette generator →

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