#B3336B#B3336B

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

Color values

HEX#B3336B
RGBrgb(179, 51, 107)
HSLhsl(334, 56%, 45%)
HSVhsv(334, 72%, 70%)
CMYKcmyk(0%, 71.5%, 40.2%, 29.8%)
CIE-LABlab(42.79, 55.59, -2.48)
CIE-LCHlch(42.79, 55.64, 357.44°)
OKLaboklab(52.92% 0.1705 -0.0058)
OKLCHoklch(52.92% 0.171 358)
XYZxyz(22.4296, 13.0157, 15.2382)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3336B #33B37B
analogous
#B333AB #B3336B #B33B33
triadic
#B3336B #6BB333 #336BB3
tetradic
#B3336B #ABB333 #33B37B #3B33B3
square
#B3336B #ABB333 #33B37B #3B33B3
split-complementary
#B3336B #33B33B #33ABB3
monochromatic
#541832 #83254F #B3336B #CE558A #DC84AB

Accessibility & contrast

On white

5.83
#B3336B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B3336B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3336B
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3336B#FFFFFF#000000##FFFFFF
##B3336B1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566C
Deuteranopia (green-blind)
#706E68
Tritanopia (blue-blind)
#C2234B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b3336b;
/* rgb */ color: rgb(179, 51, 107);
/* oklch */ color: oklch(52.9% 0.171 358.0);
Tailwind
colors: {
  custom: {
    50: '#cf7595',
    500: '#b3336b',
    950: '#000000',
  },
}
SCSS
$custom: #b3336b;
$custom-light: #cf7595;
$custom-dark: #000000;
JSON
{
  "hex": "#b3336b",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 333.75,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52915,
    "c": 0.17058,
    "h": 358
  },
  "luminance": 0.13013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B3336B

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

Preview Lab → · Contrast checker → · Palette generator →

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