#B33171#B33171

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

Color values

HEX#B33171
RGBrgb(179, 49, 113)
HSLhsl(330, 57%, 45%)
HSVhsv(330, 73%, 70%)
CMYKcmyk(0%, 72.6%, 36.9%, 29.8%)
CIE-LABlab(42.73, 56.95, -6.29)
CIE-LCHlch(42.73, 57.30, 353.69°)
OKLaboklab(52.94% 0.1746 -0.0159)
OKLCHoklch(52.94% 0.175 354.8)
XYZxyz(22.6708, 12.9753, 16.9302)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B33171 #31B373
analogous
#B331B2 #B33171 #B33231
triadic
#B33171 #71B331 #3171B3
tetradic
#B33171 #B2B331 #31B373 #3231B3
square
#B33171 #B2B331 #31B373 #3231B3
split-complementary
#B33171 #31B332 #31B2B3
monochromatic
#531734 #832453 #B33171 #D05290 #DD82AE

Accessibility & contrast

On white

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

On black

3.59
#B33171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B33171#FFFFFF#000000##FFFFFF
##B331711.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495673
Deuteranopia (green-blind)
#6D6E6E
Tritanopia (blue-blind)
#C1244D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b33171;
/* rgb */ color: rgb(179, 49, 113);
/* oklch */ color: oklch(52.9% 0.175 354.8);
Tailwind
colors: {
  custom: {
    50: '#ce7499',
    500: '#b33171',
    950: '#000000',
  },
}
SCSS
$custom: #b33171;
$custom-light: #ce7499;
$custom-dark: #000000;
JSON
{
  "hex": "#b33171",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 330.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52935,
    "c": 0.17536,
    "h": 354.8
  },
  "luminance": 0.12973
}

Semantic roles & 50–950 ramp

primary
#B33171
secondary
#7AC6A0
accent
#E09548
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B33171

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

Preview Lab → · Contrast checker → · Palette generator →

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