#BD317B#BD317B

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

Color values

HEX#BD317B
RGBrgb(189, 49, 123)
HSLhsl(328, 59%, 47%)
HSVhsv(328, 74%, 74%)
CMYKcmyk(0%, 74.1%, 34.9%, 25.9%)
CIE-LABlab(44.87, 60.79, -9.07)
CIE-LCHlch(44.87, 61.46, 351.52°)
OKLaboklab(54.95% 0.1863 -0.0233)
OKLCHoklch(54.95% 0.188 352.9)
XYZxyz(25.6613, 14.4486, 20.1726)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD317B #31BD73
analogous
#B931BD #BD317B #BD3135
triadic
#BD317B #7BBD31 #317BBD
tetradic
#BD317B #BDB931 #31BD73 #3135BD
square
#BD317B #BDB931 #31BD73 #3135BD
split-complementary
#BD317B #35BD31 #31BDB9
monochromatic
#5C183C #8C245B #BD317B #D45899 #E088B7

Accessibility & contrast

On white

5.40
#BD317B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BD317B
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD317B#FFFFFF#000000##FFFFFF
##BD317B1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5A7D
Deuteranopia (green-blind)
#727378
Tritanopia (blue-blind)
#CC2452
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bd317b;
/* rgb */ color: rgb(189, 49, 123);
/* oklch */ color: oklch(55.0% 0.188 352.9);
Tailwind
colors: {
  custom: {
    50: '#d676a1',
    500: '#bd317b',
    950: '#000000',
  },
}
SCSS
$custom: #bd317b;
$custom-light: #d676a1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd317b",
  "rgb": {
    "r": 189,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 328.286,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54953,
    "c": 0.18778,
    "h": 352.9
  },
  "luminance": 0.14446
}

Semantic roles & 50–950 ramp

primary
#BD317B
secondary
#80CAA3
accent
#E28F46
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BD317B

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

Preview Lab → · Contrast checker → · Palette generator →

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