#BD317C#BD317C

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

Color values

HEX#BD317C
RGBrgb(189, 49, 124)
HSLhsl(328, 59%, 47%)
HSVhsv(328, 74%, 74%)
CMYKcmyk(0%, 74.1%, 34.4%, 25.9%)
CIE-LABlab(44.90, 60.90, -9.63)
CIE-LCHlch(44.90, 61.66, 351.02°)
OKLaboklab(54.99% 0.1866 -0.0248)
OKLCHoklch(54.99% 0.188 352.4)
XYZxyz(25.7242, 14.4737, 20.5039)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD317C #31BD72
analogous
#B831BD #BD317C #BD3136
triadic
#BD317C #7CBD31 #317CBD
tetradic
#BD317C #BDB831 #31BD72 #3136BD
square
#BD317C #BDB831 #31BD72 #3136BD
split-complementary
#BD317C #36BD31 #31BDB8
monochromatic
#5C183C #8C245C #BD317C #D4589A #E088B7

Accessibility & contrast

On white

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

On black

3.89
#BD317C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BD317C#FFFFFF#000000##FFFFFF
##BD317C1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5A7E
Deuteranopia (green-blind)
#727379
Tritanopia (blue-blind)
#CC2552
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bd317c;
/* rgb */ color: rgb(189, 49, 124);
/* oklch */ color: oklch(55.0% 0.188 352.4);
Tailwind
colors: {
  custom: {
    50: '#d676a1',
    500: '#bd317c',
    950: '#000000',
  },
}
SCSS
$custom: #bd317c;
$custom-light: #d676a1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd317c",
  "rgb": {
    "r": 189,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 327.857,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5499,
    "c": 0.18824,
    "h": 352.4
  },
  "luminance": 0.14471
}

Semantic roles & 50–950 ramp

primary
#BD317C
secondary
#80CAA2
accent
#E28E46
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #BD317C

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

Preview Lab → · Contrast checker → · Palette generator →

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