#BA335C#BA335C

#BA335C is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.6% C 0.173 H 7.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#BA335C
RGBrgb(186, 51, 92)
HSLhsl(342, 57%, 46%)
HSVhsv(342, 73%, 73%)
CMYKcmyk(0%, 72.6%, 50.5%, 27.1%)
CIE-LABlab(43.63, 56.21, 8.23)
CIE-LCHlch(43.63, 56.81, 8.33°)
OKLaboklab(53.63% 0.1713 0.0214)
OKLCHoklch(53.63% 0.173 7.1)
XYZxyz(23.3673, 13.5826, 11.5144)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA335C #33BA91
analogous
#BA33A0 #BA335C #BA4E33
triadic
#BA335C #5CBA33 #335CBA
tetradic
#BA335C #A0BA33 #33BA91 #4E33BA
square
#BA335C #A0BA33 #33BA91 #4E33BA
split-complementary
#BA335C #33BA4E #33A0BA
monochromatic
#5A192C #8A2644 #BA335C #D1597D #DF89A3

Accessibility & contrast

On white

5.65
#BA335C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#BA335C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA335C
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA335C#FFFFFF#000000##FFFFFF
##BA335C1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54565D
Deuteranopia (green-blind)
#777159
Tritanopia (blue-blind)
#CB1644
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ba335c;
/* rgb */ color: rgb(186, 51, 92);
/* oklch */ color: oklch(53.6% 0.173 7.1);
Tailwind
colors: {
  custom: {
    50: '#d57589',
    500: '#ba335c',
    950: '#000000',
  },
}
SCSS
$custom: #ba335c;
$custom-light: #d57589;
$custom-dark: #000000;
JSON
{
  "hex": "#ba335c",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 92
  },
  "hsl": {
    "h": 341.778,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53631,
    "c": 0.17265,
    "h": 7.1
  },
  "luminance": 0.13579
}

Semantic roles & 50–950 ramp

primary
#BA335C
secondary
#80C9B3
accent
#E0B248
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#15090B
muted
#837B7C

Preview Lab

Preview with #BA335C

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

Preview Lab → · Contrast checker → · Palette generator →

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