#BA368A#BA368A

#BA368A is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.5% C 0.188 H 345.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BA368A
RGBrgb(186, 54, 138)
HSLhsl(322, 55%, 47%)
HSVhsv(322, 71%, 73%)
CMYKcmyk(0%, 71%, 25.8%, 27.1%)
CIE-LABlab(45.52, 60.07, -17.28)
CIE-LCHlch(45.52, 62.50, 343.95°)
OKLaboklab(55.51% 0.1819 -0.0458)
OKLCHoklch(55.51% 0.188 345.9)
XYZxyz(26.1574, 14.9152, 25.5412)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA368A #36BA66
analogous
#A836BA #BA368A #BA3648
triadic
#BA368A #8ABA36 #368ABA
tetradic
#BA368A #BAA836 #36BA66 #3648BA
square
#BA368A #BAA836 #36BA66 #3648BA
split-complementary
#BA368A #48BA36 #36BAA8
monochromatic
#5B1A44 #8B2867 #BA368A #D05DA6 #DE8DC0

Accessibility & contrast

On white

5.27
#BA368A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BA368A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA368A
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA368A#FFFFFF#000000##FFFFFF
##BA368A1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465D8C
Deuteranopia (green-blind)
#6D7487
Tritanopia (blue-blind)
#C7335B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba368a;
/* rgb */ color: rgb(186, 54, 138);
/* oklch */ color: oklch(55.5% 0.188 345.9);
Tailwind
colors: {
  custom: {
    50: '#d378ac',
    500: '#ba368a',
    950: '#000000',
  },
}
SCSS
$custom: #ba368a;
$custom-light: #d378ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba368a",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 321.818,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55512,
    "c": 0.1876,
    "h": 345.9
  },
  "luminance": 0.14912
}

Semantic roles & 50–950 ramp

primary
#BA368A
secondary
#84C89D
accent
#DE8049
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA368A

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

Preview Lab → · Contrast checker → · Palette generator →

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