#BA366C#BA366C

#BA366C is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.4% C 0.174 H 359.8°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA366C
RGBrgb(186, 54, 108)
HSLhsl(335, 55%, 47%)
HSVhsv(335, 71%, 73%)
CMYKcmyk(0%, 71%, 41.9%, 27.1%)
CIE-LABlab(44.47, 56.61, -0.49)
CIE-LCHlch(44.47, 56.61, 359.50°)
OKLaboklab(54.4% 0.1736 -0.0006)
OKLCHoklch(54.4% 0.174 359.8)
XYZxyz(24.2774, 14.1632, 15.6398)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA366C #36BA84
analogous
#BA36AE #BA366C #BA4236
triadic
#BA366C #6CBA36 #366CBA
tetradic
#BA366C #AEBA36 #36BA84 #4236BA
square
#BA366C #AEBA36 #36BA84 #4236BA
split-complementary
#BA366C #36BA42 #36AEBA
monochromatic
#5B1A35 #8B2850 #BA366C #D05D8C #DE8DAE

Accessibility & contrast

On white

5.48
#BA366C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#BA366C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA366C
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA366C#FFFFFF#000000##FFFFFF
##BA366C1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51596D
Deuteranopia (green-blind)
#757269
Tritanopia (blue-blind)
#C9244D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #ba366c;
/* rgb */ color: rgb(186, 54, 108);
/* oklch */ color: oklch(54.4% 0.174 359.8);
Tailwind
colors: {
  custom: {
    50: '#d47796',
    500: '#ba366c',
    950: '#000000',
  },
}
SCSS
$custom: #ba366c;
$custom-light: #d47796;
$custom-dark: #000000;
JSON
{
  "hex": "#ba366c",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 335.455,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54396,
    "c": 0.17355,
    "h": 359.8
  },
  "luminance": 0.1416
}

Semantic roles & 50–950 ramp

primary
#BA366C
secondary
#84C8AC
accent
#DEA149
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #BA366C

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

Preview Lab → · Contrast checker → · Palette generator →

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