#BD398F#BD398F

#BD398F is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.5% C 0.189 H 344.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BD398F
RGBrgb(189, 57, 143)
HSLhsl(321, 54%, 48%)
HSVhsv(321, 70%, 74%)
CMYKcmyk(0%, 69.8%, 24.3%, 25.9%)
CIE-LABlab(46.62, 60.42, -18.57)
CIE-LCHlch(46.62, 63.21, 342.92°)
OKLaboklab(56.48% 0.1825 -0.0494)
OKLCHoklch(56.48% 0.189 344.9)
XYZxyz(27.4084, 15.7311, 27.5742)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD398F #39BD67
analogous
#A939BD #BD398F #BD394D
triadic
#BD398F #8FBD39 #398FBD
tetradic
#BD398F #BDA939 #39BD67 #394DBD
square
#BD398F #BDA939 #39BD67 #394DBD
split-complementary
#BD398F #4DBD39 #39BDA9
monochromatic
#5F1D48 #8E2B6B #BD398F #D063AA #DE92C4

Accessibility & contrast

On white

5.07
#BD398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BD398F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD398F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD398F#FFFFFF#000000##FFFFFF
##BD398F1.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486091
Deuteranopia (green-blind)
#6F778C
Tritanopia (blue-blind)
#C9375F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd398f;
/* rgb */ color: rgb(189, 57, 143);
/* oklch */ color: oklch(56.5% 0.189 344.9);
Tailwind
colors: {
  custom: {
    50: '#d57ab0',
    500: '#bd398f',
    950: '#000000',
  },
}
SCSS
$custom: #bd398f;
$custom-light: #d57ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd398f",
  "rgb": {
    "r": 189,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 320.909,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56479,
    "c": 0.18904,
    "h": 344.9
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

primary
#BD398F
secondary
#89C99F
accent
#DD7E4B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BD398F

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

Preview Lab → · Contrast checker → · Palette generator →

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