#B3336A#B3336A

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

Color values

HEX#B3336A
RGBrgb(179, 51, 106)
HSLhsl(334, 56%, 45%)
HSVhsv(334, 72%, 70%)
CMYKcmyk(0%, 71.5%, 40.8%, 29.8%)
CIE-LABlab(42.76, 55.48, -1.91)
CIE-LCHlch(42.76, 55.52, 358.03°)
OKLaboklab(52.88% 0.1702 -0.0043)
OKLCHoklch(52.88% 0.17 358.5)
XYZxyz(22.3773, 12.9947, 14.9627)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3336A #33B37C
analogous
#B333AA #B3336A #B33C33
triadic
#B3336A #6AB333 #336AB3
tetradic
#B3336A #AAB333 #33B37C #3C33B3
square
#B3336A #AAB333 #33B37C #3C33B3
split-complementary
#B3336A #33B33C #33AAB3
monochromatic
#541832 #83254E #B3336A #CE5589 #DC84AA

Accessibility & contrast

On white

5.84
#B3336A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B3336A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3336A#FFFFFF#000000##FFFFFF
##B3336A1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D556B
Deuteranopia (green-blind)
#706E67
Tritanopia (blue-blind)
#C2234A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b3336a;
/* rgb */ color: rgb(179, 51, 106);
/* oklch */ color: oklch(52.9% 0.170 358.5);
Tailwind
colors: {
  custom: {
    50: '#cf7594',
    500: '#b3336a',
    950: '#000000',
  },
}
SCSS
$custom: #b3336a;
$custom-light: #cf7594;
$custom-dark: #000000;
JSON
{
  "hex": "#b3336a",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 334.219,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52882,
    "c": 0.17021,
    "h": 358.5
  },
  "luminance": 0.12992
}

Semantic roles & 50–950 ramp

primary
#B3336A
secondary
#7CC6A6
accent
#DF9E49
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#15090D
muted
#837B7E

Preview Lab

Preview with #B3336A

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

Preview Lab → · Contrast checker → · Palette generator →

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