#B3336C#B3336C

#B3336C is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.171 H 357.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B3336C
RGBrgb(179, 51, 108)
HSLhsl(333, 56%, 45%)
HSVhsv(333, 72%, 70%)
CMYKcmyk(0%, 71.5%, 39.7%, 29.8%)
CIE-LABlab(42.82, 55.69, -3.06)
CIE-LCHlch(42.82, 55.78, 356.86°)
OKLaboklab(52.95% 0.1708 -0.0073)
OKLCHoklch(52.95% 0.171 357.5)
XYZxyz(22.4825, 13.0368, 15.5169)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3336C #33B37A
analogous
#B333AC #B3336C #B33A33
triadic
#B3336C #6CB333 #336CB3
tetradic
#B3336C #ACB333 #33B37A #3A33B3
square
#B3336C #ACB333 #33B37A #3A33B3
split-complementary
#B3336C #33B33A #33ACB3
monochromatic
#541833 #83254F #B3336C #CE558B #DC84AB

Accessibility & contrast

On white

5.82
#B3336C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B3336C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3336C
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3336C#FFFFFF#000000##FFFFFF
##B3336C1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C566D
Deuteranopia (green-blind)
#6F6E69
Tritanopia (blue-blind)
#C2244B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b3336c;
/* rgb */ color: rgb(179, 51, 108);
/* oklch */ color: oklch(52.9% 0.171 357.5);
Tailwind
colors: {
  custom: {
    50: '#cf7596',
    500: '#b3336c',
    950: '#000000',
  },
}
SCSS
$custom: #b3336c;
$custom-light: #cf7596;
$custom-dark: #000000;
JSON
{
  "hex": "#b3336c",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 333.281,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52949,
    "c": 0.17097,
    "h": 357.5
  },
  "luminance": 0.13034
}

Semantic roles & 50–950 ramp

primary
#B3336C
secondary
#7CC6A5
accent
#DF9C49
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #B3336C

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

Preview Lab → · Contrast checker → · Palette generator →

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