#BF319F#BF319F

#BF319F is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.8% C 0.210 H 338.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BF319F
RGBrgb(191, 49, 159)
HSLhsl(314, 59%, 47%)
HSVhsv(314, 74%, 75%)
CMYKcmyk(0%, 74.3%, 16.8%, 25.1%)
CIE-LABlab(46.68, 65.81, -28.04)
CIE-LCHlch(46.68, 71.54, 336.92°)
OKLaboklab(56.82% 0.1954 -0.076)
OKLCHoklch(56.82% 0.21 338.8)
XYZxyz(28.8429, 15.7790, 34.3208)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF319F #31BF51
analogous
#9831BF #BF319F #BF3158
triadic
#BF319F #9FBF31 #319FBF
tetradic
#BF319F #BF9831 #31BF51 #3158BF
square
#BF319F #BF9831 #31BF51 #3158BF
split-complementary
#BF319F #58BF31 #31BF98
monochromatic
#5E184E #8E2576 #BF319F #D459B9 #E18ACD

Accessibility & contrast

On white

5.05
#BF319F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#BF319F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF319F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF319F#FFFFFF#000000##FFFFFF
##BF319F1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3960A2
Deuteranopia (green-blind)
#68779C
Tritanopia (blue-blind)
#CA3865
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bf319f;
/* rgb */ color: rgb(191, 49, 159);
/* oklch */ color: oklch(56.8% 0.210 338.8);
Tailwind
colors: {
  custom: {
    50: '#d677bb',
    500: '#bf319f',
    950: '#000000',
  },
}
SCSS
$custom: #bf319f;
$custom-light: #d677bb;
$custom-dark: #000000;
JSON
{
  "hex": "#bf319f",
  "rgb": {
    "r": 191,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 313.521,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56815,
    "c": 0.2096,
    "h": 338.8
  },
  "luminance": 0.15776
}

Semantic roles & 50–950 ramp

primary
#BF319F
secondary
#81CB92
accent
#E26945
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BF319F

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

Preview Lab → · Contrast checker → · Palette generator →

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