#BF338D#BF338D

#BF338D is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.2% C 0.196 H 345.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#BF338D
RGBrgb(191, 51, 141)
HSLhsl(321, 58%, 47%)
HSVhsv(321, 73%, 75%)
CMYKcmyk(0%, 73.3%, 26.2%, 25.1%)
CIE-LABlab(46.14, 62.78, -18.07)
CIE-LCHlch(46.14, 65.33, 343.94°)
OKLaboklab(56.17% 0.1904 -0.0479)
OKLCHoklch(56.17% 0.196 345.9)
XYZxyz(27.4786, 15.3701, 26.7138)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF338D #33BF65
analogous
#AB33BF #BF338D #BF3347
triadic
#BF338D #8DBF33 #338DBF
tetradic
#BF338D #BFAB33 #33BF65 #3347BF
square
#BF338D #BFAB33 #33BF65 #3347BF
split-complementary
#BF338D #47BF33 #33BFAB
monochromatic
#5E1946 #8F2669 #BF338D #D35CA9 #E08CC2

Accessibility & contrast

On white

5.16
#BF338D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#BF338D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF338D
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF338D#FFFFFF#000000##FFFFFF
##BF338D1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455E8F
Deuteranopia (green-blind)
#6F768A
Tritanopia (blue-blind)
#CC305C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bf338d;
/* rgb */ color: rgb(191, 51, 141);
/* oklch */ color: oklch(56.2% 0.196 345.9);
Tailwind
colors: {
  custom: {
    50: '#d777ae',
    500: '#bf338d',
    950: '#000000',
  },
}
SCSS
$custom: #bf338d;
$custom-light: #d777ae;
$custom-dark: #000000;
JSON
{
  "hex": "#bf338d",
  "rgb": {
    "r": 191,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 321.429,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56166,
    "c": 0.19633,
    "h": 345.9
  },
  "luminance": 0.15367
}

Semantic roles & 50–950 ramp

primary
#BF338D
secondary
#83CB9D
accent
#E17E47
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BF338D

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

Preview Lab → · Contrast checker → · Palette generator →

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