#BA337A#BA337A

#BA337A is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.183 H 352.7°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BA337A
RGBrgb(186, 51, 122)
HSLhsl(328, 57%, 46%)
HSVhsv(328, 73%, 73%)
CMYKcmyk(0%, 72.6%, 34.4%, 27.1%)
CIE-LABlab(44.54, 59.19, -9.00)
CIE-LCHlch(44.54, 59.87, 351.35°)
OKLaboklab(54.6% 0.1813 -0.0231)
OKLCHoklch(54.6% 0.183 352.7)
XYZxyz(24.9479, 14.2148, 19.8385)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA337A #33BA73
analogous
#B733BA #BA337A #BA3337
triadic
#BA337A #7ABA33 #337ABA
tetradic
#BA337A #BAB733 #33BA73 #3337BA
square
#BA337A #BAB733 #33BA73 #3337BA
split-complementary
#BA337A #37BA33 #33BAB7
monochromatic
#5A193B #8A265A #BA337A #D15998 #DF89B6

Accessibility & contrast

On white

5.47
#BA337A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#BA337A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA337A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA337A#FFFFFF#000000##FFFFFF
##BA337A1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5A7C
Deuteranopia (green-blind)
#717277
Tritanopia (blue-blind)
#C82852
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba337a;
/* rgb */ color: rgb(186, 51, 122);
/* oklch */ color: oklch(54.6% 0.183 352.7);
Tailwind
colors: {
  custom: {
    50: '#d376a0',
    500: '#ba337a',
    950: '#000000',
  },
}
SCSS
$custom: #ba337a;
$custom-light: #d376a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba337a",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 328.444,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.546,
    "c": 0.18273,
    "h": 352.7
  },
  "luminance": 0.14212
}

Semantic roles & 50–950 ramp

primary
#BA337A
secondary
#80C9A3
accent
#E09048
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BA337A

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

Preview Lab → · Contrast checker → · Palette generator →

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