#BF317B#BF317B

#BF317B is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.3% C 0.189 H 353.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BF317B
RGBrgb(191, 49, 123)
HSLhsl(329, 59%, 47%)
HSVhsv(329, 74%, 75%)
CMYKcmyk(0%, 74.3%, 35.6%, 25.1%)
CIE-LABlab(45.23, 61.32, -8.49)
CIE-LCHlch(45.23, 61.91, 352.12°)
OKLaboklab(55.28% 0.1881 -0.0217)
OKLCHoklch(55.28% 0.189 353.4)
XYZxyz(26.1609, 14.7062, 20.1960)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF317B #31BF75
analogous
#BC31BF #BF317B #BF3134
triadic
#BF317B #7BBF31 #317BBF
tetradic
#BF317B #BFBC31 #31BF75 #3134BF
square
#BF317B #BFBC31 #31BF75 #3134BF
split-complementary
#BF317B #34BF31 #31BFBC
monochromatic
#5E183C #8E255C #BF317B #D45999 #E18AB7

Accessibility & contrast

On white

5.33
#BF317B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BF317B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF317B
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF317B#FFFFFF#000000##FFFFFF
##BF317B1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5B7D
Deuteranopia (green-blind)
#737478
Tritanopia (blue-blind)
#CE2352
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bf317b;
/* rgb */ color: rgb(191, 49, 123);
/* oklch */ color: oklch(55.3% 0.189 353.4);
Tailwind
colors: {
  custom: {
    50: '#d776a1',
    500: '#bf317b',
    950: '#000000',
  },
}
SCSS
$custom: #bf317b;
$custom-light: #d776a1;
$custom-dark: #000000;
JSON
{
  "hex": "#bf317b",
  "rgb": {
    "r": 191,
    "g": 49,
    "b": 123
  },
  "hsl": {
    "h": 328.732,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55282,
    "c": 0.18932,
    "h": 353.4
  },
  "luminance": 0.14703
}

Semantic roles & 50–950 ramp

primary
#BF317B
secondary
#81CBA4
accent
#E29145
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BF317B

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

Preview Lab → · Contrast checker → · Palette generator →

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