#BD317E#BD317E

#BD317E is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.1% C 0.189 H 351.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BD317E
RGBrgb(189, 49, 126)
HSLhsl(327, 59%, 47%)
HSVhsv(327, 74%, 74%)
CMYKcmyk(0%, 74.1%, 33.3%, 25.9%)
CIE-LABlab(44.98, 61.13, -10.75)
CIE-LCHlch(44.98, 62.07, 350.03°)
OKLaboklab(55.07% 0.1871 -0.0278)
OKLCHoklch(55.07% 0.189 351.5)
XYZxyz(25.8520, 14.5248, 21.1768)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD317E #31BD70
analogous
#B631BD #BD317E #BD3138
triadic
#BD317E #7EBD31 #317EBD
tetradic
#BD317E #BDB631 #31BD70 #3138BD
square
#BD317E #BDB631 #31BD70 #3138BD
split-complementary
#BD317E #38BD31 #31BDB6
monochromatic
#5C183D #8C245E #BD317E #D4589C #E088B9

Accessibility & contrast

On white

5.38
#BD317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BD317E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD317E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD317E#FFFFFF#000000##FFFFFF
##BD317E1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A80
Deuteranopia (green-blind)
#71747B
Tritanopia (blue-blind)
#CB2653
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bd317e;
/* rgb */ color: rgb(189, 49, 126);
/* oklch */ color: oklch(55.1% 0.189 351.5);
Tailwind
colors: {
  custom: {
    50: '#d676a3',
    500: '#bd317e',
    950: '#000000',
  },
}
SCSS
$custom: #bd317e;
$custom-light: #d676a3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd317e",
  "rgb": {
    "r": 189,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 327,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55066,
    "c": 0.1892,
    "h": 351.5
  },
  "luminance": 0.14522
}

Semantic roles & 50–950 ramp

primary
#BD317E
secondary
#80CAA1
accent
#E28C46
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BD317E

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

Preview Lab → · Contrast checker → · Palette generator →

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