#BA368E#BA368E

#BA368E is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.7% C 0.190 H 344.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BA368E
RGBrgb(186, 54, 142)
HSLhsl(320, 55%, 47%)
HSVhsv(320, 71%, 73%)
CMYKcmyk(0%, 71%, 23.7%, 27.1%)
CIE-LABlab(45.68, 60.59, -19.45)
CIE-LCHlch(45.68, 63.63, 342.20°)
OKLaboklab(55.68% 0.1828 -0.0519)
OKLCHoklch(55.68% 0.19 344.2)
XYZxyz(26.4523, 15.0332, 27.0945)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA368E #36BA62
analogous
#A436BA #BA368E #BA364C
triadic
#BA368E #8EBA36 #368EBA
tetradic
#BA368E #BAA436 #36BA62 #364CBA
square
#BA368E #BAA436 #36BA62 #364CBA
split-complementary
#BA368E #4CBA36 #36BAA4
monochromatic
#5B1A46 #8B286A #BA368E #D05DAA #DE8DC3

Accessibility & contrast

On white

5.24
#BA368E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BA368E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA368E
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA368E#FFFFFF#000000##FFFFFF
##BA368E1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E90
Deuteranopia (green-blind)
#6C748B
Tritanopia (blue-blind)
#C6355D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba368e;
/* rgb */ color: rgb(186, 54, 142);
/* oklch */ color: oklch(55.7% 0.190 344.2);
Tailwind
colors: {
  custom: {
    50: '#d378af',
    500: '#ba368e',
    950: '#000000',
  },
}
SCSS
$custom: #ba368e;
$custom-light: #d378af;
$custom-dark: #000000;
JSON
{
  "hex": "#ba368e",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 320,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55683,
    "c": 0.18997,
    "h": 344.2
  },
  "luminance": 0.1503
}

Semantic roles & 50–950 ramp

primary
#BA368E
secondary
#84C89A
accent
#DE7B49
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA368E

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

Preview Lab → · Contrast checker → · Palette generator →

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