#B3337B#B3337B

#B3337B is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.5% C 0.178 H 350.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B3337B
RGBrgb(179, 51, 123)
HSLhsl(326, 56%, 45%)
HSVhsv(326, 72%, 70%)
CMYKcmyk(0%, 71.5%, 31.3%, 29.8%)
CIE-LABlab(43.34, 57.39, -11.55)
CIE-LCHlch(43.34, 58.54, 348.62°)
OKLaboklab(53.5% 0.1752 -0.0301)
OKLCHoklch(53.5% 0.178 350.3)
XYZxyz(23.3506, 13.3841, 20.0887)
Luminance0.1338 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3337B #33B36B
analogous
#AB33B3 #B3337B #B3333B
triadic
#B3337B #7BB333 #337BB3
tetradic
#B3337B #B3AB33 #33B36B #333BB3
square
#B3337B #B3AB33 #33B36B #333BB3
split-complementary
#B3337B #3BB333 #33B3AB
monochromatic
#54183A #83255A #B3337B #CE5599 #DC84B6

Accessibility & contrast

On white

5.71
#B3337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B3337B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B3337B
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3337B#FFFFFF#000000##FFFFFF
##B3337B1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587D
Deuteranopia (green-blind)
#6C6F78
Tritanopia (blue-blind)
#C02C52
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b3337b;
/* rgb */ color: rgb(179, 51, 123);
/* oklch */ color: oklch(53.5% 0.178 350.3);
Tailwind
colors: {
  custom: {
    50: '#ce75a1',
    500: '#b3337b',
    950: '#000000',
  },
}
SCSS
$custom: #b3337b;
$custom-light: #ce75a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b3337b",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 326.25,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53499,
    "c": 0.17775,
    "h": 350.3
  },
  "luminance": 0.13381
}

Semantic roles & 50–950 ramp

primary
#B3337B
secondary
#7CC69C
accent
#DF8B49
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B3337B

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

Preview Lab → · Contrast checker → · Palette generator →

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