#B33797#B33797

#B33797 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.1% C 0.190 H 338.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B33797
RGBrgb(179, 55, 151)
HSLhsl(314, 53%, 46%)
HSVhsv(314, 69%, 70%)
CMYKcmyk(0%, 69.3%, 15.6%, 29.8%)
CIE-LABlab(45.02, 59.66, -26.00)
CIE-LCHlch(45.02, 65.08, 336.46°)
OKLaboklab(55.1% 0.1764 -0.0704)
OKLCHoklch(55.1% 0.19 338.2)
XYZxyz(25.5430, 14.5528, 30.7359)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B33797 #37B353
analogous
#9137B3 #B33797 #B33759
triadic
#B33797 #97B337 #3797B3
tetradic
#B33797 #B39137 #37B353 #3759B3
square
#B33797 #B39137 #37B353 #3759B3
split-complementary
#B33797 #59B337 #37B391
monochromatic
#551A48 #842970 #B33797 #CD5BB3 #DB8AC9

Accessibility & contrast

On white

5.37
#B33797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B33797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B33797
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B33797#FFFFFF#000000##FFFFFF
##B337971.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E9A
Deuteranopia (green-blind)
#647194
Tritanopia (blue-blind)
#BD3C62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b33797;
/* rgb */ color: rgb(179, 55, 151);
/* oklch */ color: oklch(55.1% 0.190 338.2);
Tailwind
colors: {
  custom: {
    50: '#cd78b6',
    500: '#b33797',
    950: '#000000',
  },
}
SCSS
$custom: #b33797;
$custom-light: #cd78b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b33797",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 313.548,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55102,
    "c": 0.1899,
    "h": 338.2
  },
  "luminance": 0.1455
}

Semantic roles & 50–950 ramp

primary
#B33797
secondary
#81C590
accent
#DC6C4B
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B33797

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

Preview Lab → · Contrast checker → · Palette generator →

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