#BF31A3#BF31A3

#BF31A3 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.0% C 0.212 H 337.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BF31A3
RGBrgb(191, 49, 163)
HSLhsl(312, 59%, 47%)
HSVhsv(312, 74%, 75%)
CMYKcmyk(0%, 74.3%, 14.7%, 25.1%)
CIE-LABlab(46.87, 66.37, -30.13)
CIE-LCHlch(46.87, 72.89, 335.59°)
OKLaboklab(57.01% 0.1958 -0.0819)
OKLCHoklch(57.01% 0.212 337.3)
XYZxyz(29.1956, 15.9201, 36.1785)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF31A3 #31BF4D
analogous
#9431BF #BF31A3 #BF315C
triadic
#BF31A3 #A3BF31 #31A3BF
tetradic
#BF31A3 #BF9431 #31BF4D #315CBF
square
#BF31A3 #BF9431 #31BF4D #315CBF
split-complementary
#BF31A3 #5CBF31 #31BF94
monochromatic
#5E1850 #8E2579 #BF31A3 #D459BC #E18AD0

Accessibility & contrast

On white

5.02
#BF31A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BF31A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF31A3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF31A3#FFFFFF#000000##FFFFFF
##BF31A31.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A6
Deuteranopia (green-blind)
#6777A0
Tritanopia (blue-blind)
#C93A67
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bf31a3;
/* rgb */ color: rgb(191, 49, 163);
/* oklch */ color: oklch(57.0% 0.212 337.3);
Tailwind
colors: {
  custom: {
    50: '#d677be',
    500: '#bf31a3',
    950: '#000000',
  },
}
SCSS
$custom: #bf31a3;
$custom-light: #d677be;
$custom-dark: #000000;
JSON
{
  "hex": "#bf31a3",
  "rgb": {
    "r": 191,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 311.831,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5701,
    "c": 0.21226,
    "h": 337.3
  },
  "luminance": 0.15917
}

Semantic roles & 50–950 ramp

primary
#BF31A3
secondary
#81CB90
accent
#E26445
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BF31A3

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

Preview Lab → · Contrast checker → · Palette generator →

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