#BA396E#BA396E

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

Color values

HEX#BA396E
RGBrgb(186, 57, 110)
HSLhsl(335, 53%, 48%)
HSVhsv(335, 69%, 73%)
CMYKcmyk(0%, 69.4%, 40.9%, 27.1%)
CIE-LABlab(44.93, 55.69, -1.04)
CIE-LCHlch(44.93, 55.70, 358.93°)
OKLaboklab(54.76% 0.1706 -0.002)
OKLCHoklch(54.76% 0.171 359.3)
XYZxyz(24.5290, 14.4941, 16.2548)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA396E #39BA85
analogous
#BA39AE #BA396E #BA4539
triadic
#BA396E #6EBA39 #396EBA
tetradic
#BA396E #AEBA39 #39BA85 #4539BA
square
#BA396E #AEBA39 #39BA85 #4539BA
split-complementary
#BA396E #39BA45 #39AEBA
monochromatic
#5C1C37 #8B2B52 #BA396E #CF618E #DD90B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA396E#FFFFFF#000000##FFFFFF
##BA396E1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535B6F
Deuteranopia (green-blind)
#76736B
Tritanopia (blue-blind)
#C9294F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba396e;
/* rgb */ color: rgb(186, 57, 110);
/* oklch */ color: oklch(54.8% 0.171 359.3);
Tailwind
colors: {
  custom: {
    50: '#d47997',
    500: '#ba396e',
    950: '#000000',
  },
}
SCSS
$custom: #ba396e;
$custom-light: #d47997;
$custom-dark: #000000;
JSON
{
  "hex": "#ba396e",
  "rgb": {
    "r": 186,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 335.349,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54761,
    "c": 0.17064,
    "h": 359.3
  },
  "luminance": 0.14491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA396E

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

Preview Lab → · Contrast checker → · Palette generator →

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