#BA396F#BA396F

#BA396F is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.8% C 0.171 H 358.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BA396F
RGBrgb(186, 57, 111)
HSLhsl(335, 53%, 48%)
HSVhsv(335, 69%, 73%)
CMYKcmyk(0%, 69.4%, 40.3%, 27.1%)
CIE-LABlab(44.96, 55.80, -1.61)
CIE-LCHlch(44.96, 55.82, 358.35°)
OKLaboklab(54.79% 0.171 -0.0035)
OKLCHoklch(54.79% 0.171 358.8)
XYZxyz(24.5837, 14.5160, 16.5431)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA396F #39BA84
analogous
#BA39AF #BA396F #BA4439
triadic
#BA396F #6FBA39 #396FBA
tetradic
#BA396F #AFBA39 #39BA84 #4439BA
square
#BA396F #AFBA39 #39BA84 #4439BA
split-complementary
#BA396F #39BA44 #39AFBA
monochromatic
#5C1C37 #8B2B53 #BA396F #CF618F #DD90B0

Accessibility & contrast

On white

5.38
#BA396F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BA396F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA396F
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA396F#FFFFFF#000000##FFFFFF
##BA396F1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525B70
Deuteranopia (green-blind)
#75736C
Tritanopia (blue-blind)
#C92A4F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba396f;
/* rgb */ color: rgb(186, 57, 111);
/* oklch */ color: oklch(54.8% 0.171 358.8);
Tailwind
colors: {
  custom: {
    50: '#d37998',
    500: '#ba396f',
    950: '#000000',
  },
}
SCSS
$custom: #ba396f;
$custom-light: #d37998;
$custom-dark: #000000;
JSON
{
  "hex": "#ba396f",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 334.884,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54793,
    "c": 0.17101,
    "h": 358.8
  },
  "luminance": 0.14513
}

Semantic roles & 50–950 ramp

primary
#BA396F
secondary
#87C8AD
accent
#DCA04B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E

Preview Lab

Preview with #BA396F

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

Preview Lab → · Contrast checker → · Palette generator →

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