#BA335A#BA335A

#BA335A is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.172 H 8.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#BA335A
RGBrgb(186, 51, 90)
HSLhsl(343, 57%, 46%)
HSVhsv(343, 73%, 73%)
CMYKcmyk(0%, 72.6%, 51.6%, 27.1%)
CIE-LABlab(43.58, 56.04, 9.40)
CIE-LCHlch(43.58, 56.82, 9.52°)
OKLaboklab(53.58% 0.1706 0.0242)
OKLCHoklch(53.58% 0.172 8.1)
XYZxyz(23.2810, 13.5481, 11.0600)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA335A #33BA93
analogous
#BA339E #BA335A #BA5033
triadic
#BA335A #5ABA33 #335ABA
tetradic
#BA335A #9EBA33 #33BA93 #5033BA
square
#BA335A #9EBA33 #33BA93 #5033BA
split-complementary
#BA335A #33BA50 #339EBA
monochromatic
#5A192C #8A2643 #BA335A #D1597C #DF89A2

Accessibility & contrast

On white

5.66
#BA335A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#BA335A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA335A
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA335A#FFFFFF#000000##FFFFFF
##BA335A1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54565B
Deuteranopia (green-blind)
#777157
Tritanopia (blue-blind)
#CB1543
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba335a;
/* rgb */ color: rgb(186, 51, 90);
/* oklch */ color: oklch(53.6% 0.172 8.1);
Tailwind
colors: {
  custom: {
    50: '#d57588',
    500: '#ba335a',
    950: '#000000',
  },
}
SCSS
$custom: #ba335a;
$custom-light: #d57588;
$custom-dark: #000000;
JSON
{
  "hex": "#ba335a",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 90
  },
  "hsl": {
    "h": 342.667,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53577,
    "c": 0.17228,
    "h": 8.1
  },
  "luminance": 0.13545
}

Semantic roles & 50–950 ramp

primary
#BA335A
secondary
#80C9B4
accent
#E0B448
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA335A

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

Preview Lab → · Contrast checker → · Palette generator →

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