#BF338F#BF338F

#BF338F is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.3% C 0.197 H 345.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BF338F
RGBrgb(191, 51, 143)
HSLhsl(321, 58%, 47%)
HSVhsv(321, 73%, 75%)
CMYKcmyk(0%, 73.3%, 25.1%, 25.1%)
CIE-LABlab(46.22, 63.04, -19.16)
CIE-LCHlch(46.22, 65.88, 343.10°)
OKLaboklab(56.25% 0.1908 -0.0509)
OKLCHoklch(56.25% 0.197 345)
XYZxyz(27.6288, 15.4301, 27.5046)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF338F #33BF63
analogous
#A933BF #BF338F #BF3349
triadic
#BF338F #8FBF33 #338FBF
tetradic
#BF338F #BFA933 #33BF63 #3349BF
square
#BF338F #BFA933 #33BF63 #3349BF
split-complementary
#BF338F #49BF33 #33BFA9
monochromatic
#5E1947 #8F266B #BF338F #D35CAA #E08CC3

Accessibility & contrast

On white

5.14
#BF338F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BF338F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF338F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF338F#FFFFFF#000000##FFFFFF
##BF338F1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E92
Deuteranopia (green-blind)
#6E768C
Tritanopia (blue-blind)
#CC315D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bf338f;
/* rgb */ color: rgb(191, 51, 143);
/* oklch */ color: oklch(56.3% 0.197 345.0);
Tailwind
colors: {
  custom: {
    50: '#d778b0',
    500: '#bf338f',
    950: '#000000',
  },
}
SCSS
$custom: #bf338f;
$custom-light: #d778b0;
$custom-dark: #000000;
JSON
{
  "hex": "#bf338f",
  "rgb": {
    "r": 191,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 320.571,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56251,
    "c": 0.19749,
    "h": 345
  },
  "luminance": 0.15427
}

Semantic roles & 50–950 ramp

primary
#BF338F
secondary
#83CB9C
accent
#E17C47
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BF338F

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

Preview Lab → · Contrast checker → · Palette generator →

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