#BA396D#BA396D

#BA396D is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.7% C 0.170 H 359.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BA396D
RGBrgb(186, 57, 109)
HSLhsl(336, 53%, 48%)
HSVhsv(336, 69%, 73%)
CMYKcmyk(0%, 69.4%, 41.4%, 27.1%)
CIE-LABlab(44.90, 55.59, -0.47)
CIE-LCHlch(44.90, 55.59, 359.52°)
OKLaboklab(54.73% 0.1703 -0.0006)
OKLCHoklch(54.73% 0.17 359.8)
XYZxyz(24.4749, 14.4725, 15.9696)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA396D #39BA86
analogous
#BA39AD #BA396D #BA4639
triadic
#BA396D #6DBA39 #396DBA
tetradic
#BA396D #ADBA39 #39BA86 #4639BA
square
#BA396D #ADBA39 #39BA86 #4639BA
split-complementary
#BA396D #39BA46 #39ADBA
monochromatic
#5C1C36 #8B2B52 #BA396D #CF618E #DD90AF

Accessibility & contrast

On white

5.39
#BA396D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BA396D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA396D
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA396D#FFFFFF#000000##FFFFFF
##BA396D1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535B6E
Deuteranopia (green-blind)
#76736A
Tritanopia (blue-blind)
#C9294E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba396d;
/* rgb */ color: rgb(186, 57, 109);
/* oklch */ color: oklch(54.7% 0.170 359.8);
Tailwind
colors: {
  custom: {
    50: '#d47996',
    500: '#ba396d',
    950: '#000000',
  },
}
SCSS
$custom: #ba396d;
$custom-light: #d47996;
$custom-dark: #000000;
JSON
{
  "hex": "#ba396d",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 335.814,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54728,
    "c": 0.1703,
    "h": 359.8
  },
  "luminance": 0.14469
}

Semantic roles & 50–950 ramp

primary
#BA396D
secondary
#87C8AE
accent
#DCA24B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA396D

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

Preview Lab → · Contrast checker → · Palette generator →

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