#BA396C#BA396C

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

Color values

HEX#BA396C
RGBrgb(186, 57, 108)
HSLhsl(336, 53%, 48%)
HSVhsv(336, 69%, 73%)
CMYKcmyk(0%, 69.4%, 41.9%, 27.1%)
CIE-LABlab(44.87, 55.48, 0.10)
CIE-LCHlch(44.87, 55.48, 0.11°)
OKLaboklab(54.7% 0.17 0.0009)
OKLCHoklch(54.7% 0.17 0.3)
XYZxyz(24.4213, 14.4511, 15.6878)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA396C #39BA87
analogous
#BA39AC #BA396C #BA4739
triadic
#BA396C #6CBA39 #396CBA
tetradic
#BA396C #ACBA39 #39BA87 #4739BA
square
#BA396C #ACBA39 #39BA87 #4739BA
split-complementary
#BA396C #39BA47 #39ACBA
monochromatic
#5C1C36 #8B2B51 #BA396C #CF618D #DD90AF

Accessibility & contrast

On white

5.40
#BA396C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA396C
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA396C#FFFFFF#000000##FFFFFF
##BA396C1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535A6D
Deuteranopia (green-blind)
#767369
Tritanopia (blue-blind)
#C9294E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba396c;
/* rgb */ color: rgb(186, 57, 108);
/* oklch */ color: oklch(54.7% 0.170 0.3);
Tailwind
colors: {
  custom: {
    50: '#d47996',
    500: '#ba396c',
    950: '#000000',
  },
}
SCSS
$custom: #ba396c;
$custom-light: #d47996;
$custom-dark: #000000;
JSON
{
  "hex": "#ba396c",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 336.279,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54696,
    "c": 0.16996,
    "h": 0.3
  },
  "luminance": 0.14448
}

Semantic roles & 50–950 ramp

primary
#BA396C
secondary
#87C8AE
accent
#DCA34B
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA396C

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

Preview Lab → · Contrast checker → · Palette generator →

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