#BF338B#BF338B

#BF338B is a mid, vivid pink. Relative luminance 0.153; OKLCH L 56.1% C 0.195 H 346.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BF338B
RGBrgb(191, 51, 139)
HSLhsl(322, 58%, 47%)
HSVhsv(322, 73%, 75%)
CMYKcmyk(0%, 73.3%, 27.2%, 25.1%)
CIE-LABlab(46.06, 62.53, -16.98)
CIE-LCHlch(46.06, 64.80, 344.80°)
OKLaboklab(56.08% 0.19 -0.0449)
OKLCHoklch(56.08% 0.195 346.7)
XYZxyz(27.3311, 15.3111, 25.9371)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF338B #33BF67
analogous
#AD33BF #BF338B #BF3345
triadic
#BF338B #8BBF33 #338BBF
tetradic
#BF338B #BFAD33 #33BF67 #3345BF
square
#BF338B #BFAD33 #33BF67 #3345BF
split-complementary
#BF338B #45BF33 #33BFAD
monochromatic
#5E1945 #8F2668 #BF338B #D35CA7 #E08CC1

Accessibility & contrast

On white

5.17
#BF338B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BF338B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF338B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF338B#FFFFFF#000000##FFFFFF
##BF338B1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465E8D
Deuteranopia (green-blind)
#707688
Tritanopia (blue-blind)
#CC2F5B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bf338b;
/* rgb */ color: rgb(191, 51, 139);
/* oklch */ color: oklch(56.1% 0.195 346.7);
Tailwind
colors: {
  custom: {
    50: '#d777ad',
    500: '#bf338b',
    950: '#000000',
  },
}
SCSS
$custom: #bf338b;
$custom-light: #d777ad;
$custom-dark: #000000;
JSON
{
  "hex": "#bf338b",
  "rgb": {
    "r": 191,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 322.286,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56082,
    "c": 0.19521,
    "h": 346.7
  },
  "luminance": 0.15308
}

Semantic roles & 50–950 ramp

primary
#BF338B
secondary
#83CB9E
accent
#E18047
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BF338B

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

Preview Lab → · Contrast checker → · Palette generator →

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