#BF317D#BF317D

#BF317D is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.4% C 0.190 H 352.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BF317D
RGBrgb(191, 49, 125)
HSLhsl(328, 59%, 47%)
HSVhsv(328, 74%, 75%)
CMYKcmyk(0%, 74.3%, 34.6%, 25.1%)
CIE-LABlab(45.30, 61.55, -9.61)
CIE-LCHlch(45.30, 62.29, 351.12°)
OKLaboklab(55.36% 0.1886 -0.0247)
OKLCHoklch(55.36% 0.19 352.5)
XYZxyz(26.2874, 14.7568, 20.8621)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF317D #31BF73
analogous
#BA31BF #BF317D #BF3136
triadic
#BF317D #7DBF31 #317DBF
tetradic
#BF317D #BFBA31 #31BF73 #3136BF
square
#BF317D #BFBA31 #31BF73 #3136BF
split-complementary
#BF317D #36BF31 #31BFBA
monochromatic
#5E183D #8E255D #BF317D #D4599B #E18AB8

Accessibility & contrast

On white

5.32
#BF317D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#BF317D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF317D
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF317D#FFFFFF#000000##FFFFFF
##BF317D1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5B7F
Deuteranopia (green-blind)
#73757A
Tritanopia (blue-blind)
#CE2453
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bf317d;
/* rgb */ color: rgb(191, 49, 125);
/* oklch */ color: oklch(55.4% 0.190 352.5);
Tailwind
colors: {
  custom: {
    50: '#d776a2',
    500: '#bf317d',
    950: '#000000',
  },
}
SCSS
$custom: #bf317d;
$custom-light: #d776a2;
$custom-dark: #000000;
JSON
{
  "hex": "#bf317d",
  "rgb": {
    "r": 191,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 327.887,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55357,
    "c": 0.19023,
    "h": 352.5
  },
  "luminance": 0.14754
}

Semantic roles & 50–950 ramp

primary
#BF317D
secondary
#81CBA3
accent
#E28E45
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #BF317D

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

Preview Lab → · Contrast checker → · Palette generator →

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