#BB338F#BB338F

#BB338F is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.6% C 0.195 H 343.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BB338F
RGBrgb(187, 51, 143)
HSLhsl(319, 57%, 47%)
HSVhsv(319, 73%, 73%)
CMYKcmyk(0%, 72.7%, 23.5%, 26.7%)
CIE-LABlab(45.52, 62.02, -20.28)
CIE-LCHlch(45.52, 65.25, 341.89°)
OKLaboklab(55.62% 0.1871 -0.0541)
OKLCHoklch(55.62% 0.195 343.9)
XYZxyz(26.6363, 14.9184, 27.4580)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB338F #33BB5F
analogous
#A333BB #BB338F #BB334B
triadic
#BB338F #8FBB33 #338FBB
tetradic
#BB338F #BBA333 #33BB5F #334BBB
square
#BB338F #BBA333 #33BB5F #334BBB
split-complementary
#BB338F #4BBB33 #33BBA3
monochromatic
#5B1945 #8B266A #BB338F #D259AB #DF89C3

Accessibility & contrast

On white

5.27
#BB338F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BB338F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB338F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB338F#FFFFFF#000000##FFFFFF
##BB338F1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D92
Deuteranopia (green-blind)
#6B748C
Tritanopia (blue-blind)
#C7325D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb338f;
/* rgb */ color: rgb(187, 51, 143);
/* oklch */ color: oklch(55.6% 0.195 343.9);
Tailwind
colors: {
  custom: {
    50: '#d477b0',
    500: '#bb338f',
    950: '#000000',
  },
}
SCSS
$custom: #bb338f;
$custom-light: #d477b0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb338f",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 319.412,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55615,
    "c": 0.19478,
    "h": 343.9
  },
  "luminance": 0.14916
}

Semantic roles & 50–950 ramp

primary
#BB338F
secondary
#81C998
accent
#E07947
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BB338F

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

Preview Lab → · Contrast checker → · Palette generator →

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