#BB338E#BB338E

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

Color values

HEX#BB338E
RGBrgb(187, 51, 142)
HSLhsl(320, 57%, 47%)
HSVhsv(320, 73%, 73%)
CMYKcmyk(0%, 72.7%, 24.1%, 26.7%)
CIE-LABlab(45.48, 61.89, -19.74)
CIE-LCHlch(45.48, 64.96, 342.31°)
OKLaboklab(55.57% 0.1869 -0.0526)
OKLCHoklch(55.57% 0.194 344.3)
XYZxyz(26.5609, 14.8882, 27.0609)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB338E #33BB60
analogous
#A433BB #BB338E #BB334A
triadic
#BB338E #8EBB33 #338EBB
tetradic
#BB338E #BBA433 #33BB60 #334ABB
square
#BB338E #BBA433 #33BB60 #334ABB
split-complementary
#BB338E #4ABB33 #33BBA4
monochromatic
#5B1945 #8B2669 #BB338E #D259AA #DF89C3

Accessibility & contrast

On white

5.28
#BB338E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB338E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB338E#FFFFFF#000000##FFFFFF
##BB338E1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425D91
Deuteranopia (green-blind)
#6C748B
Tritanopia (blue-blind)
#C7325C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb338e;
/* rgb */ color: rgb(187, 51, 142);
/* oklch */ color: oklch(55.6% 0.194 344.3);
Tailwind
colors: {
  custom: {
    50: '#d477af',
    500: '#bb338e',
    950: '#000000',
  },
}
SCSS
$custom: #bb338e;
$custom-light: #d477af;
$custom-dark: #000000;
JSON
{
  "hex": "#bb338e",
  "rgb": {
    "r": 187,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 319.853,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55571,
    "c": 0.19418,
    "h": 344.3
  },
  "luminance": 0.14885
}

Semantic roles & 50–950 ramp

primary
#BB338E
secondary
#81C999
accent
#E07A47
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #BB338E

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

Preview Lab → · Contrast checker → · Palette generator →

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