#BA4287#BA4287

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

Color values

HEX#BA4287
RGBrgb(186, 66, 135)
HSLhsl(326, 48%, 49%)
HSVhsv(326, 65%, 73%)
CMYKcmyk(0%, 64.5%, 27.4%, 27.1%)
CIE-LABlab(47.09, 55.00, -13.07)
CIE-LCHlch(47.09, 56.54, 346.63°)
OKLaboklab(56.63% 0.1668 -0.0343)
OKLCHoklch(56.63% 0.17 348.4)
XYZxyz(26.5722, 16.0875, 24.6228)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4287 #42BA75
analogous
#B142BA #BA4287 #BA424B
triadic
#BA4287 #87BA42 #4287BA
tetradic
#BA4287 #BAB142 #42BA75 #424BBA
square
#BA4287 #BAB142 #42BA75 #424BBA
split-complementary
#BA4287 #4BBA42 #42BAB1
monochromatic
#602245 #8D3266 #BA4287 #CB6EA4 #DB9BC0

Accessibility & contrast

On white

4.98
#BA4287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA4287
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4287#FFFFFF#000000##FFFFFF
##BA42871.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516289
Deuteranopia (green-blind)
#737784
Tritanopia (blue-blind)
#C73E5F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba4287;
/* rgb */ color: rgb(186, 66, 135);
/* oklch */ color: oklch(56.6% 0.170 348.4);
Tailwind
colors: {
  custom: {
    50: '#d27eaa',
    500: '#ba4287',
    950: '#000000',
  },
}
SCSS
$custom: #ba4287;
$custom-light: #d27eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4287",
  "rgb": {
    "r": 186,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 325.5,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56627,
    "c": 0.17025,
    "h": 348.4
  },
  "luminance": 0.16085
}

Semantic roles & 50–950 ramp

primary
#BA4287
secondary
#90C8A8
accent
#D78A51
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA4287

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

Preview Lab → · Contrast checker → · Palette generator →

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