#BD398E#BD398E

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

Color values

HEX#BD398E
RGBrgb(189, 57, 142)
HSLhsl(321, 54%, 48%)
HSVhsv(321, 70%, 74%)
CMYKcmyk(0%, 69.8%, 24.9%, 25.9%)
CIE-LABlab(46.58, 60.29, -18.03)
CIE-LCHlch(46.58, 62.93, 343.35°)
OKLaboklab(56.44% 0.1823 -0.0479)
OKLCHoklch(56.44% 0.188 345.3)
XYZxyz(27.3330, 15.7009, 27.1771)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD398E #39BD68
analogous
#AA39BD #BD398E #BD394C
triadic
#BD398E #8EBD39 #398EBD
tetradic
#BD398E #BDAA39 #39BD68 #394CBD
square
#BD398E #BDAA39 #39BD68 #394CBD
split-complementary
#BD398E #4CBD39 #39BDAA
monochromatic
#5F1D47 #8E2B6B #BD398E #D063A9 #DE92C3

Accessibility & contrast

On white

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

On black

4.14
#BD398E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BD398E#FFFFFF#000000##FFFFFF
##BD398E1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486090
Deuteranopia (green-blind)
#6F778B
Tritanopia (blue-blind)
#CA375E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd398e;
/* rgb */ color: rgb(189, 57, 142);
/* oklch */ color: oklch(56.4% 0.188 345.3);
Tailwind
colors: {
  custom: {
    50: '#d57aaf',
    500: '#bd398e',
    950: '#000000',
  },
}
SCSS
$custom: #bd398e;
$custom-light: #d57aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#bd398e",
  "rgb": {
    "r": 189,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 321.364,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56437,
    "c": 0.18844,
    "h": 345.3
  },
  "luminance": 0.15698
}

Semantic roles & 50–950 ramp

primary
#BD398E
secondary
#89C9A0
accent
#DD7F4B
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BD398E

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

Preview Lab → · Contrast checker → · Palette generator →

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