#BA396B#BA396B

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

Color values

HEX#BA396B
RGBrgb(186, 57, 107)
HSLhsl(337, 53%, 48%)
HSVhsv(337, 69%, 73%)
CMYKcmyk(0%, 69.4%, 42.5%, 27.1%)
CIE-LABlab(44.84, 55.38, 0.68)
CIE-LCHlch(44.84, 55.39, 0.70°)
OKLaboklab(54.67% 0.1696 0.0024)
OKLCHoklch(54.67% 0.17 0.8)
XYZxyz(24.3684, 14.4299, 15.4091)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA396B #39BA88
analogous
#BA39AB #BA396B #BA4739
triadic
#BA396B #6BBA39 #396BBA
tetradic
#BA396B #ABBA39 #39BA88 #4739BA
square
#BA396B #ABBA39 #39BA88 #4739BA
split-complementary
#BA396B #39BA47 #39ABBA
monochromatic
#5C1C35 #8B2B50 #BA396B #CF618C #DD90AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA396B#FFFFFF#000000##FFFFFF
##BA396B1.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)
#545A6C
Deuteranopia (green-blind)
#767368
Tritanopia (blue-blind)
#C9284E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba396b;
/* rgb */ color: rgb(186, 57, 107);
/* oklch */ color: oklch(54.7% 0.170 0.8);
Tailwind
colors: {
  custom: {
    50: '#d47995',
    500: '#ba396b',
    950: '#000000',
  },
}
SCSS
$custom: #ba396b;
$custom-light: #d47995;
$custom-dark: #000000;
JSON
{
  "hex": "#ba396b",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 336.744,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54665,
    "c": 0.16964,
    "h": 0.8
  },
  "luminance": 0.14427
}

Semantic roles & 50–950 ramp

primary
#BA396B
secondary
#87C8AF
accent
#DCA44B
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA396B

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

Preview Lab → · Contrast checker → · Palette generator →

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