#BF317C#BF317C

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

Color values

HEX#BF317C
RGBrgb(191, 49, 124)
HSLhsl(328, 59%, 47%)
HSVhsv(328, 74%, 75%)
CMYKcmyk(0%, 74.3%, 35.1%, 25.1%)
CIE-LABlab(45.26, 61.43, -9.05)
CIE-LCHlch(45.26, 62.10, 351.62°)
OKLaboklab(55.32% 0.1883 -0.0232)
OKLCHoklch(55.32% 0.19 353)
XYZxyz(26.2239, 14.7314, 20.5273)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF317C #31BF74
analogous
#BB31BF #BF317C #BF3135
triadic
#BF317C #7CBF31 #317CBF
tetradic
#BF317C #BFBB31 #31BF74 #3135BF
square
#BF317C #BFBB31 #31BF74 #3135BF
split-complementary
#BF317C #35BF31 #31BFBB
monochromatic
#5E183D #8E255C #BF317C #D4599A #E18AB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BF317C#FFFFFF#000000##FFFFFF
##BF317C1.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)
#4B5B7E
Deuteranopia (green-blind)
#737479
Tritanopia (blue-blind)
#CE2452
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bf317c;
/* rgb */ color: rgb(191, 49, 124);
/* oklch */ color: oklch(55.3% 0.190 353.0);
Tailwind
colors: {
  custom: {
    50: '#d776a1',
    500: '#bf317c',
    950: '#000000',
  },
}
SCSS
$custom: #bf317c;
$custom-light: #d776a1;
$custom-dark: #000000;
JSON
{
  "hex": "#bf317c",
  "rgb": {
    "r": 191,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 328.31,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55319,
    "c": 0.18977,
    "h": 353
  },
  "luminance": 0.14728
}

Semantic roles & 50–950 ramp

primary
#BF317C
secondary
#81CBA4
accent
#E28F45
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #BF317C

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

Preview Lab → · Contrast checker → · Palette generator →

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