#BA336E#BA336E

#BA336E is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.178 H 358.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#BA336E
RGBrgb(186, 51, 110)
HSLhsl(334, 57%, 46%)
HSVhsv(334, 73%, 73%)
CMYKcmyk(0%, 72.6%, 40.9%, 27.1%)
CIE-LABlab(44.14, 57.90, -2.20)
CIE-LCHlch(44.14, 57.94, 357.82°)
OKLaboklab(54.18% 0.1777 -0.0051)
OKLCHoklch(54.18% 0.178 358.4)
XYZxyz(24.2497, 13.9356, 16.1617)
Luminance0.1393 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA336E #33BA7F
analogous
#BA33B2 #BA336E #BA3C33
triadic
#BA336E #6EBA33 #336EBA
tetradic
#BA336E #B2BA33 #33BA7F #3C33BA
square
#BA336E #B2BA33 #33BA7F #3C33BA
split-complementary
#BA336E #33BA3C #33B2BA
monochromatic
#5A1935 #8A2652 #BA336E #D1598E #DF89AE

Accessibility & contrast

On white

5.55
#BA336E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#BA336E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA336E
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA336E#FFFFFF#000000##FFFFFF
##BA336E1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5870
Deuteranopia (green-blind)
#74726B
Tritanopia (blue-blind)
#C9214C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba336e;
/* rgb */ color: rgb(186, 51, 110);
/* oklch */ color: oklch(54.2% 0.178 358.4);
Tailwind
colors: {
  custom: {
    50: '#d47697',
    500: '#ba336e',
    950: '#000000',
  },
}
SCSS
$custom: #ba336e;
$custom-light: #d47697;
$custom-dark: #000000;
JSON
{
  "hex": "#ba336e",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 333.778,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54176,
    "c": 0.17772,
    "h": 358.4
  },
  "luminance": 0.13933
}

Semantic roles & 50–950 ramp

primary
#BA336E
secondary
#80C9A9
accent
#E09E48
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA336E

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

Preview Lab → · Contrast checker → · Palette generator →

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