#BA3366#BA3366

#BA3366 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 53.9% C 0.175 H 2.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#BA3366
RGBrgb(186, 51, 102)
HSLhsl(337, 57%, 46%)
HSVhsv(337, 73%, 73%)
CMYKcmyk(0%, 72.6%, 45.2%, 27.1%)
CIE-LABlab(43.90, 57.11, 2.40)
CIE-LCHlch(43.90, 57.16, 2.41°)
OKLaboklab(53.92% 0.175 0.0068)
OKLCHoklch(53.92% 0.175 2.2)
XYZxyz(23.8337, 13.7692, 13.9704)
Luminance0.1377 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3366 #33BA87
analogous
#BA33AA #BA3366 #BA4333
triadic
#BA3366 #66BA33 #3366BA
tetradic
#BA3366 #AABA33 #33BA87 #4333BA
square
#BA3366 #AABA33 #33BA87 #4333BA
split-complementary
#BA3366 #33BA43 #33AABA
monochromatic
#5A1931 #8A264C #BA3366 #D15986 #DF89A9

Accessibility & contrast

On white

5.60
#BA3366 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#BA3366 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3366
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3366#FFFFFF#000000##FFFFFF
##BA33661.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515767
Deuteranopia (green-blind)
#757163
Tritanopia (blue-blind)
#CA1C48
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ba3366;
/* rgb */ color: rgb(186, 51, 102);
/* oklch */ color: oklch(53.9% 0.175 2.2);
Tailwind
colors: {
  custom: {
    50: '#d47691',
    500: '#ba3366',
    950: '#000000',
  },
}
SCSS
$custom: #ba3366;
$custom-light: #d47691;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3366",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 337.333,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53921,
    "c": 0.17508,
    "h": 2.2
  },
  "luminance": 0.13766
}

Semantic roles & 50–950 ramp

primary
#BA3366
secondary
#80C9AD
accent
#E0A748
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #BA3366

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

Preview Lab → · Contrast checker → · Palette generator →

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