#BA336A#BA336A

#BA336A is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.176 H 0.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#BA336A
RGBrgb(186, 51, 106)
HSLhsl(336, 57%, 46%)
HSVhsv(336, 73%, 73%)
CMYKcmyk(0%, 72.6%, 43%, 27.1%)
CIE-LABlab(44.02, 57.49, 0.09)
CIE-LCHlch(44.02, 57.49, 0.09°)
OKLaboklab(54.05% 0.1763 0.0009)
OKLCHoklch(54.05% 0.176 0.3)
XYZxyz(24.0368, 13.8504, 15.0405)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA336A #33BA83
analogous
#BA33AE #BA336A #BA4033
triadic
#BA336A #6ABA33 #336ABA
tetradic
#BA336A #AEBA33 #33BA83 #4033BA
square
#BA336A #AEBA33 #33BA83 #4033BA
split-complementary
#BA336A #33BA40 #33AEBA
monochromatic
#5A1933 #8A264F #BA336A #D1598A #DF89AC

Accessibility & contrast

On white

5.57
#BA336A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#BA336A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA336A
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA336A#FFFFFF#000000##FFFFFF
##BA336A1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586B
Deuteranopia (green-blind)
#747167
Tritanopia (blue-blind)
#CA1F4A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba336a;
/* rgb */ color: rgb(186, 51, 106);
/* oklch */ color: oklch(54.0% 0.176 0.3);
Tailwind
colors: {
  custom: {
    50: '#d47694',
    500: '#ba336a',
    950: '#000000',
  },
}
SCSS
$custom: #ba336a;
$custom-light: #d47694;
$custom-dark: #000000;
JSON
{
  "hex": "#ba336a",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 335.556,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54046,
    "c": 0.17633,
    "h": 0.3
  },
  "luminance": 0.13847
}

Semantic roles & 50–950 ramp

primary
#BA336A
secondary
#80C9AB
accent
#E0A248
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA336A

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

Preview Lab → · Contrast checker → · Palette generator →

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