#BA3B7C#BA3B7C

#BA3B7C is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.5% C 0.174 H 352.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BA3B7C
RGBrgb(186, 59, 124)
HSLhsl(329, 52%, 48%)
HSVhsv(329, 68%, 73%)
CMYKcmyk(0%, 68.3%, 33.3%, 27.1%)
CIE-LABlab(45.67, 56.47, -8.54)
CIE-LCHlch(45.67, 57.11, 351.40°)
OKLaboklab(55.45% 0.1726 -0.0219)
OKLCHoklch(55.45% 0.174 352.8)
XYZxyz(25.4532, 15.0251, 20.6246)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B7C #3BBA79
analogous
#B83BBA #BA3B7C #BA3B3D
triadic
#BA3B7C #7CBA3B #3B7CBA
tetradic
#BA3B7C #BAB83B #3BBA79 #3B3DBA
square
#BA3B7C #BAB83B #3BBA79 #3B3DBA
split-complementary
#BA3B7C #3DBA3B #3BBAB8
monochromatic
#5D1E3E #8C2C5D #BA3B7C #CE649A #DD93B9

Accessibility & contrast

On white

5.24
#BA3B7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BA3B7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3B7C
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B7C#FFFFFF#000000##FFFFFF
##BA3B7C1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7E
Deuteranopia (green-blind)
#737579
Tritanopia (blue-blind)
#C83256
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba3b7c;
/* rgb */ color: rgb(186, 59, 124);
/* oklch */ color: oklch(55.5% 0.174 352.8);
Tailwind
colors: {
  custom: {
    50: '#d37aa1',
    500: '#ba3b7c',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b7c;
$custom-light: #d37aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b7c",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 124
  },
  "hsl": {
    "h": 329.291,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55452,
    "c": 0.17394,
    "h": 352.8
  },
  "luminance": 0.15022
}

Semantic roles & 50–950 ramp

primary
#BA3B7C
secondary
#89C8A8
accent
#DB924D
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BA3B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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