#BD397F#BD397F

#BD397F is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.8% C 0.180 H 351.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BD397F
RGBrgb(189, 57, 127)
HSLhsl(328, 54%, 48%)
HSVhsv(328, 70%, 74%)
CMYKcmyk(0%, 69.8%, 32.8%, 25.9%)
CIE-LABlab(46.02, 58.43, -9.79)
CIE-LCHlch(46.02, 59.25, 350.49°)
OKLaboklab(55.84% 0.1786 -0.0253)
OKLCHoklch(55.84% 0.18 351.9)
XYZxyz(26.2816, 15.2804, 21.6399)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD397F #39BD77
analogous
#B939BD #BD397F #BD393D
triadic
#BD397F #7FBD39 #397FBD
tetradic
#BD397F #BDB939 #39BD77 #393DBD
square
#BD397F #BDB939 #39BD77 #393DBD
split-complementary
#BD397F #3DBD39 #39BDB9
monochromatic
#5F1D40 #8E2B5F #BD397F #D0639D #DE92BB

Accessibility & contrast

On white

5.18
#BD397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BD397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD397F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD397F#FFFFFF#000000##FFFFFF
##BD397F1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5E81
Deuteranopia (green-blind)
#74767C
Tritanopia (blue-blind)
#CB3057
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd397f;
/* rgb */ color: rgb(189, 57, 127);
/* oklch */ color: oklch(55.8% 0.180 351.9);
Tailwind
colors: {
  custom: {
    50: '#d57aa4',
    500: '#bd397f',
    950: '#000000',
  },
}
SCSS
$custom: #bd397f;
$custom-light: #d57aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#bd397f",
  "rgb": {
    "r": 189,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 328.182,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55839,
    "c": 0.18035,
    "h": 351.9
  },
  "luminance": 0.15277
}

Semantic roles & 50–950 ramp

primary
#BD397F
secondary
#89C9A7
accent
#DD8F4B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #BD397F

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

Preview Lab → · Contrast checker → · Palette generator →

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