#BA368C#BA368C

#BA368C is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.6% C 0.189 H 345.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA368C
RGBrgb(186, 54, 140)
HSLhsl(321, 55%, 47%)
HSVhsv(321, 71%, 73%)
CMYKcmyk(0%, 71%, 24.7%, 27.1%)
CIE-LABlab(45.60, 60.32, -18.37)
CIE-LCHlch(45.60, 63.06, 343.06°)
OKLaboklab(55.6% 0.1823 -0.0488)
OKLCHoklch(55.6% 0.189 345)
XYZxyz(26.3035, 14.9736, 26.3108)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA368C #36BA64
analogous
#A636BA #BA368C #BA364A
triadic
#BA368C #8CBA36 #368CBA
tetradic
#BA368C #BAA636 #36BA64 #364ABA
square
#BA368C #BAA636 #36BA64 #364ABA
split-complementary
#BA368C #4ABA36 #36BAA6
monochromatic
#5B1A45 #8B2868 #BA368C #D05DA8 #DE8DC2

Accessibility & contrast

On white

5.26
#BA368C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BA368C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA368C
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA368C#FFFFFF#000000##FFFFFF
##BA368C1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E8E
Deuteranopia (green-blind)
#6D7489
Tritanopia (blue-blind)
#C6345C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba368c;
/* rgb */ color: rgb(186, 54, 140);
/* oklch */ color: oklch(55.6% 0.189 345.0);
Tailwind
colors: {
  custom: {
    50: '#d378ad',
    500: '#ba368c',
    950: '#000000',
  },
}
SCSS
$custom: #ba368c;
$custom-light: #d378ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ba368c",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 320.909,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55597,
    "c": 0.18877,
    "h": 345
  },
  "luminance": 0.14971
}

Semantic roles & 50–950 ramp

primary
#BA368C
secondary
#84C89C
accent
#DE7D49
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BA368C

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

Preview Lab → · Contrast checker → · Palette generator →

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