#BA4288#BA4288

#BA4288 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.7% C 0.171 H 347.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BA4288
RGBrgb(186, 66, 136)
HSLhsl(325, 48%, 49%)
HSVhsv(325, 65%, 73%)
CMYKcmyk(0%, 64.5%, 26.9%, 27.1%)
CIE-LABlab(47.13, 55.13, -13.62)
CIE-LCHlch(47.13, 56.79, 346.12°)
OKLaboklab(56.67% 0.167 -0.0358)
OKLCHoklch(56.67% 0.171 347.9)
XYZxyz(26.6429, 16.1158, 24.9953)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4288 #42BA74
analogous
#B042BA #BA4288 #BA424C
triadic
#BA4288 #88BA42 #4288BA
tetradic
#BA4288 #BAB042 #42BA74 #424CBA
square
#BA4288 #BAB042 #42BA74 #424CBA
split-complementary
#BA4288 #4CBA42 #42BAB0
monochromatic
#602246 #8D3267 #BA4288 #CB6EA4 #DB9BC1

Accessibility & contrast

On white

4.97
#BA4288 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BA4288 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA4288
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4288#FFFFFF#000000##FFFFFF
##BA42881.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51638A
Deuteranopia (green-blind)
#737785
Tritanopia (blue-blind)
#C73E5F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4288;
/* rgb */ color: rgb(186, 66, 136);
/* oklch */ color: oklch(56.7% 0.171 347.9);
Tailwind
colors: {
  custom: {
    50: '#d27eaa',
    500: '#ba4288',
    950: '#000000',
  },
}
SCSS
$custom: #ba4288;
$custom-light: #d27eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4288",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 325,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56666,
    "c": 0.17082,
    "h": 347.9
  },
  "luminance": 0.16113
}

Semantic roles & 50–950 ramp

primary
#BA4288
secondary
#90C8A7
accent
#D78951
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA4288

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

Preview Lab → · Contrast checker → · Palette generator →

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