#BF338C#BF338C

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

Color values

HEX#BF338C
RGBrgb(191, 51, 140)
HSLhsl(322, 58%, 47%)
HSVhsv(322, 73%, 75%)
CMYKcmyk(0%, 73.3%, 26.7%, 25.1%)
CIE-LABlab(46.10, 62.66, -17.53)
CIE-LCHlch(46.10, 65.06, 344.37°)
OKLaboklab(56.12% 0.1902 -0.0464)
OKLCHoklch(56.12% 0.196 346.3)
XYZxyz(27.4045, 15.3405, 26.3237)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF338C #33BF66
analogous
#AC33BF #BF338C #BF3346
triadic
#BF338C #8CBF33 #338CBF
tetradic
#BF338C #BFAC33 #33BF66 #3346BF
square
#BF338C #BFAC33 #33BF66 #3346BF
split-complementary
#BF338C #46BF33 #33BFAC
monochromatic
#5E1945 #8F2669 #BF338C #D35CA8 #E08CC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BF338C#FFFFFF#000000##FFFFFF
##BF338C1.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)
#465E8E
Deuteranopia (green-blind)
#6F7689
Tritanopia (blue-blind)
#CC2F5B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bf338c;
/* rgb */ color: rgb(191, 51, 140);
/* oklch */ color: oklch(56.1% 0.196 346.3);
Tailwind
colors: {
  custom: {
    50: '#d777ad',
    500: '#bf338c',
    950: '#000000',
  },
}
SCSS
$custom: #bf338c;
$custom-light: #d777ad;
$custom-dark: #000000;
JSON
{
  "hex": "#bf338c",
  "rgb": {
    "r": 191,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 321.857,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56124,
    "c": 0.19577,
    "h": 346.3
  },
  "luminance": 0.15337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BF338C

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

Preview Lab → · Contrast checker → · Palette generator →

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