#BA367C#BA367C

#BA367C is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.0% C 0.180 H 352.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BA367C
RGBrgb(186, 54, 124)
HSLhsl(328, 55%, 47%)
HSVhsv(328, 71%, 73%)
CMYKcmyk(0%, 71%, 33.3%, 27.1%)
CIE-LABlab(44.99, 58.35, -9.55)
CIE-LCHlch(44.99, 59.13, 350.70°)
OKLaboklab(54.96% 0.1785 -0.0246)
OKLCHoklch(54.96% 0.18 352.1)
XYZxyz(25.2084, 14.5356, 20.5430)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA367C #36BA74
analogous
#B636BA #BA367C #BA363A
triadic
#BA367C #7CBA36 #367CBA
tetradic
#BA367C #BAB636 #36BA74 #363ABA
square
#BA367C #BAB636 #36BA74 #363ABA
split-complementary
#BA367C #3ABA36 #36BAB6
monochromatic
#5B1A3D #8B285C #BA367C #D05D9A #DE8DB8

Accessibility & contrast

On white

5.38
#BA367C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BA367C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA367C
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA367C#FFFFFF#000000##FFFFFF
##BA367C1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5B7E
Deuteranopia (green-blind)
#717379
Tritanopia (blue-blind)
#C82C54
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba367c;
/* rgb */ color: rgb(186, 54, 124);
/* oklch */ color: oklch(55.0% 0.180 352.1);
Tailwind
colors: {
  custom: {
    50: '#d378a1',
    500: '#ba367c',
    950: '#000000',
  },
}
SCSS
$custom: #ba367c;
$custom-light: #d378a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba367c",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 328.182,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54955,
    "c": 0.18015,
    "h": 352.1
  },
  "luminance": 0.14533
}

Semantic roles & 50–950 ramp

primary
#BA367C
secondary
#84C8A4
accent
#DE8F49
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #BA367C

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

Preview Lab → · Contrast checker → · Palette generator →

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