#BD3397#BD3397

#BD3397 is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.3% C 0.201 H 341.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BD3397
RGBrgb(189, 51, 151)
HSLhsl(317, 58%, 47%)
HSVhsv(317, 73%, 74%)
CMYKcmyk(0%, 73%, 20.1%, 25.9%)
CIE-LABlab(46.21, 63.58, -24.01)
CIE-LCHlch(46.21, 67.97, 339.31°)
OKLaboklab(56.29% 0.1904 -0.0646)
OKLCHoklch(56.29% 0.201 341.3)
XYZxyz(27.7569, 15.4236, 30.7874)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD3397 #33BD59
analogous
#9E33BD #BD3397 #BD3352
triadic
#BD3397 #97BD33 #3397BD
tetradic
#BD3397 #BD9E33 #33BD59 #3352BD
square
#BD3397 #BD9E33 #33BD59 #3352BD
split-complementary
#BD3397 #52BD33 #33BD9E
monochromatic
#5D194A #8D2670 #BD3397 #D35BB2 #E08BC8

Accessibility & contrast

On white

5.14
#BD3397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BD3397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD3397
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD3397#FFFFFF#000000##FFFFFF
##BD33971.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F9A
Deuteranopia (green-blind)
#6A7594
Tritanopia (blue-blind)
#C93661
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bd3397;
/* rgb */ color: rgb(189, 51, 151);
/* oklch */ color: oklch(56.3% 0.201 341.3);
Tailwind
colors: {
  custom: {
    50: '#d578b6',
    500: '#bd3397',
    950: '#000000',
  },
}
SCSS
$custom: #bd3397;
$custom-light: #d578b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd3397",
  "rgb": {
    "r": 189,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 316.522,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5629,
    "c": 0.20104,
    "h": 341.3
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#BD3397
secondary
#82CA96
accent
#E17147
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BD3397

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

Preview Lab → · Contrast checker → · Palette generator →

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