#B33172#B33172

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

Color values

HEX#B33172
RGBrgb(179, 49, 114)
HSLhsl(330, 57%, 45%)
HSVhsv(330, 73%, 70%)
CMYKcmyk(0%, 72.6%, 36.3%, 29.8%)
CIE-LABlab(42.76, 57.07, -6.86)
CIE-LCHlch(42.76, 57.48, 353.14°)
OKLaboklab(52.97% 0.1749 -0.0174)
OKLCHoklch(52.97% 0.176 354.3)
XYZxyz(22.7274, 12.9980, 17.2283)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B33172 #31B372
analogous
#B331B3 #B33172 #B33131
triadic
#B33172 #72B331 #3172B3
tetradic
#B33172 #B3B331 #31B372 #3131B3
square
#B33172 #B3B331 #31B372 #3131B3
split-complementary
#B33172 #31B331 #31B3B3
monochromatic
#531735 #832453 #B33172 #D05291 #DD82AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B33172#FFFFFF#000000##FFFFFF
##B331721.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)
#495674
Deuteranopia (green-blind)
#6D6E6F
Tritanopia (blue-blind)
#C1254D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b33172;
/* rgb */ color: rgb(179, 49, 114);
/* oklch */ color: oklch(53.0% 0.176 354.3);
Tailwind
colors: {
  custom: {
    50: '#ce749a',
    500: '#b33172',
    950: '#000000',
  },
}
SCSS
$custom: #b33172;
$custom-light: #ce749a;
$custom-dark: #000000;
JSON
{
  "hex": "#b33172",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 330,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52971,
    "c": 0.17579,
    "h": 354.3
  },
  "luminance": 0.12995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B33172

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

Preview Lab → · Contrast checker → · Palette generator →

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