#BF3171#BF3171

#BF3171 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.185 H 357.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BF3171
RGBrgb(191, 49, 113)
HSLhsl(333, 59%, 47%)
HSVhsv(333, 74%, 75%)
CMYKcmyk(0%, 74.3%, 40.8%, 25.1%)
CIE-LABlab(44.90, 60.27, -2.84)
CIE-LCHlch(44.90, 60.34, 357.30°)
OKLaboklab(54.93% 0.1851 -0.0067)
OKLCHoklch(54.93% 0.185 357.9)
XYZxyz(25.5666, 14.4685, 17.0659)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF3171 #31BF7F
analogous
#BF31B8 #BF3171 #BF3831
triadic
#BF3171 #71BF31 #3171BF
tetradic
#BF3171 #B8BF31 #31BF7F #3831BF
square
#BF3171 #B8BF31 #31BF7F #3831BF
split-complementary
#BF3171 #31BF38 #31B8BF
monochromatic
#5E1837 #8E2554 #BF3171 #D45991 #E18AB1

Accessibility & contrast

On white

5.39
#BF3171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BF3171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF3171
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF3171#FFFFFF#000000##FFFFFF
##BF31711.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5973
Deuteranopia (green-blind)
#76746E
Tritanopia (blue-blind)
#CF1D4D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #bf3171;
/* rgb */ color: rgb(191, 49, 113);
/* oklch */ color: oklch(54.9% 0.185 357.9);
Tailwind
colors: {
  custom: {
    50: '#d87699',
    500: '#bf3171',
    950: '#000000',
  },
}
SCSS
$custom: #bf3171;
$custom-light: #d87699;
$custom-dark: #000000;
JSON
{
  "hex": "#bf3171",
  "rgb": {
    "r": 191,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 332.958,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54931,
    "c": 0.1852,
    "h": 357.9
  },
  "luminance": 0.14465
}

Semantic roles & 50–950 ramp

primary
#BF3171
secondary
#81CBAA
accent
#E29C45
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #BF3171

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

Preview Lab → · Contrast checker → · Palette generator →

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