#BD319F#BD319F

#BD319F is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.5% C 0.208 H 338.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BD319F
RGBrgb(189, 49, 159)
HSLhsl(313, 59%, 47%)
HSVhsv(313, 74%, 74%)
CMYKcmyk(0%, 74.1%, 15.9%, 25.9%)
CIE-LABlab(46.34, 65.34, -28.60)
CIE-LCHlch(46.34, 71.32, 336.36°)
OKLaboklab(56.5% 0.1934 -0.0776)
OKLCHoklch(56.5% 0.208 338.1)
XYZxyz(28.3432, 15.5213, 34.2974)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD319F #31BD4F
analogous
#9531BD #BD319F #BD3159
triadic
#BD319F #9FBD31 #319FBD
tetradic
#BD319F #BD9531 #31BD4F #3159BD
square
#BD319F #BD9531 #31BD4F #3159BD
split-complementary
#BD319F #59BD31 #31BD95
monochromatic
#5C184D #8C2476 #BD319F #D458B9 #E088CD

Accessibility & contrast

On white

5.12
#BD319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BD319F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BD319F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD319F#FFFFFF#000000##FFFFFF
##BD319F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3760A2
Deuteranopia (green-blind)
#67769C
Tritanopia (blue-blind)
#C83865
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bd319f;
/* rgb */ color: rgb(189, 49, 159);
/* oklch */ color: oklch(56.5% 0.208 338.1);
Tailwind
colors: {
  custom: {
    50: '#d577bb',
    500: '#bd319f',
    950: '#000000',
  },
}
SCSS
$custom: #bd319f;
$custom-light: #d577bb;
$custom-dark: #000000;
JSON
{
  "hex": "#bd319f",
  "rgb": {
    "r": 189,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 312.857,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56502,
    "c": 0.20842,
    "h": 338.1
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#BD319F
secondary
#80CA90
accent
#E26746
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BD319F

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

Preview Lab → · Contrast checker → · Palette generator →

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