#BF3198#BF3198

#BF3198 is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.5% C 0.205 H 341.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BF3198
RGBrgb(191, 49, 152)
HSLhsl(316, 59%, 47%)
HSVhsv(316, 74%, 75%)
CMYKcmyk(0%, 74.3%, 20.4%, 25.1%)
CIE-LABlab(46.37, 64.86, -24.34)
CIE-LCHlch(46.37, 69.27, 339.43°)
OKLaboklab(56.49% 0.1944 -0.0655)
OKLCHoklch(56.49% 0.205 341.4)
XYZxyz(28.2526, 15.5429, 31.2118)
Luminance0.1554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF3198 #31BF58
analogous
#9F31BF #BF3198 #BF3151
triadic
#BF3198 #98BF31 #3198BF
tetradic
#BF3198 #BF9F31 #31BF58 #3151BF
square
#BF3198 #BF9F31 #31BF58 #3151BF
split-complementary
#BF3198 #51BF31 #31BF9F
monochromatic
#5E184A #8E2571 #BF3198 #D459B2 #E18AC9

Accessibility & contrast

On white

5.11
#BF3198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#BF3198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF3198
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF3198#FFFFFF#000000##FFFFFF
##BF31981.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5F9B
Deuteranopia (green-blind)
#6B7695
Tritanopia (blue-blind)
#CB3461
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bf3198;
/* rgb */ color: rgb(191, 49, 152);
/* oklch */ color: oklch(56.5% 0.205 341.4);
Tailwind
colors: {
  custom: {
    50: '#d677b6',
    500: '#bf3198',
    950: '#000000',
  },
}
SCSS
$custom: #bf3198;
$custom-light: #d677b6;
$custom-dark: #000000;
JSON
{
  "hex": "#bf3198",
  "rgb": {
    "r": 191,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 316.479,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56485,
    "c": 0.20511,
    "h": 341.4
  },
  "luminance": 0.1554
}

Semantic roles & 50–950 ramp

primary
#BF3198
secondary
#81CB95
accent
#E27145
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #BF3198

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

Preview Lab → · Contrast checker → · Palette generator →

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