#BA3B7B#BA3B7B

#BA3B7B is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.4% C 0.173 H 353.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BA3B7B
RGBrgb(186, 59, 123)
HSLhsl(330, 52%, 48%)
HSVhsv(330, 68%, 73%)
CMYKcmyk(0%, 68.3%, 33.9%, 27.1%)
CIE-LABlab(45.63, 56.35, -7.98)
CIE-LCHlch(45.63, 56.91, 351.94°)
OKLaboklab(55.42% 0.1723 -0.0204)
OKLCHoklch(55.42% 0.173 353.2)
XYZxyz(25.3902, 15.0000, 20.2932)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3B7B #3BBA7A
analogous
#B93BBA #BA3B7B #BA3B3B
triadic
#BA3B7B #7BBA3B #3B7BBA
tetradic
#BA3B7B #BAB93B #3BBA7A #3B3BBA
square
#BA3B7B #BAB93B #3BBA7A #3B3BBA
split-complementary
#BA3B7B #3BBA3B #3BBAB9
monochromatic
#5D1E3E #8C2C5C #BA3B7B #CE649A #DD93B8

Accessibility & contrast

On white

5.25
#BA3B7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3B7B
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3B7B#FFFFFF#000000##FFFFFF
##BA3B7B1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3b7b;
/* rgb */ color: rgb(186, 59, 123);
/* oklch */ color: oklch(55.4% 0.173 353.2);
Tailwind
colors: {
  custom: {
    50: '#d37aa1',
    500: '#ba3b7b',
    950: '#000000',
  },
}
SCSS
$custom: #ba3b7b;
$custom-light: #d37aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3b7b",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 123
  },
  "hsl": {
    "h": 329.764,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55415,
    "c": 0.17346,
    "h": 353.2
  },
  "luminance": 0.14997
}

Semantic roles & 50–950 ramp

primary
#BA3B7B
secondary
#89C8A8
accent
#DB934D
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #BA3B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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