#BF317E#BF317E

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

Color values

HEX#BF317E
RGBrgb(191, 49, 126)
HSLhsl(327, 59%, 47%)
HSVhsv(327, 74%, 75%)
CMYKcmyk(0%, 74.3%, 34%, 25.1%)
CIE-LABlab(45.33, 61.66, -10.17)
CIE-LCHlch(45.33, 62.49, 350.63°)
OKLaboklab(55.39% 0.1889 -0.0262)
OKLCHoklch(55.39% 0.191 352.1)
XYZxyz(26.3516, 14.7825, 21.2002)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF317E #31BF72
analogous
#B931BF #BF317E #BF3137
triadic
#BF317E #7EBF31 #317EBF
tetradic
#BF317E #BFB931 #31BF72 #3137BF
square
#BF317E #BFB931 #31BF72 #3137BF
split-complementary
#BF317E #37BF31 #31BFB9
monochromatic
#5E183E #8E255E #BF317E #D4599C #E18AB9

Accessibility & contrast

On white

5.31
#BF317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#BF317E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF317E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF317E#FFFFFF#000000##FFFFFF
##BF317E1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B80
Deuteranopia (green-blind)
#73757B
Tritanopia (blue-blind)
#CE2553
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bf317e;
/* rgb */ color: rgb(191, 49, 126);
/* oklch */ color: oklch(55.4% 0.191 352.1);
Tailwind
colors: {
  custom: {
    50: '#d776a3',
    500: '#bf317e',
    950: '#000000',
  },
}
SCSS
$custom: #bf317e;
$custom-light: #d776a3;
$custom-dark: #000000;
JSON
{
  "hex": "#bf317e",
  "rgb": {
    "r": 191,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 327.465,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55394,
    "c": 0.1907,
    "h": 352.1
  },
  "luminance": 0.14779
}

Semantic roles & 50–950 ramp

primary
#BF317E
secondary
#81CBA3
accent
#E28D45
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #BF317E

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

Preview Lab → · Contrast checker → · Palette generator →

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