#BA367F#BA367F

#BA367F is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.1% C 0.182 H 350.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BA367F
RGBrgb(186, 54, 127)
HSLhsl(327, 55%, 47%)
HSVhsv(327, 71%, 73%)
CMYKcmyk(0%, 71%, 31.7%, 27.1%)
CIE-LABlab(45.10, 58.71, -11.22)
CIE-LCHlch(45.10, 59.77, 349.18°)
OKLaboklab(55.07% 0.1793 -0.0292)
OKLCHoklch(55.07% 0.182 350.8)
XYZxyz(25.4010, 14.6126, 21.5574)
Luminance0.1461 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA367F #36BA71
analogous
#B336BA #BA367F #BA363D
triadic
#BA367F #7FBA36 #367FBA
tetradic
#BA367F #BAB336 #36BA71 #363DBA
square
#BA367F #BAB336 #36BA71 #363DBA
split-complementary
#BA367F #3DBA36 #36BAB3
monochromatic
#5B1A3E #8B285F #BA367F #D05D9D #DE8DBA

Accessibility & contrast

On white

5.35
#BA367F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#BA367F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA367F
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA367F#FFFFFF#000000##FFFFFF
##BA367F1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5C81
Deuteranopia (green-blind)
#71737C
Tritanopia (blue-blind)
#C82E56
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba367f;
/* rgb */ color: rgb(186, 54, 127);
/* oklch */ color: oklch(55.1% 0.182 350.8);
Tailwind
colors: {
  custom: {
    50: '#d378a4',
    500: '#ba367f',
    950: '#000000',
  },
}
SCSS
$custom: #ba367f;
$custom-light: #d378a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba367f",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 326.818,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55069,
    "c": 0.18163,
    "h": 350.8
  },
  "luminance": 0.1461
}

Semantic roles & 50–950 ramp

primary
#BA367F
secondary
#84C8A2
accent
#DE8C49
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BA367F

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

Preview Lab → · Contrast checker → · Palette generator →

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