#B33798#B33798

#B33798 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.1% C 0.191 H 337.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B33798
RGBrgb(179, 55, 152)
HSLhsl(313, 53%, 46%)
HSVhsv(313, 69%, 70%)
CMYKcmyk(0%, 69.3%, 15.1%, 29.8%)
CIE-LABlab(45.06, 59.81, -26.53)
CIE-LCHlch(45.06, 65.43, 336.08°)
OKLaboklab(55.15% 0.1765 -0.0719)
OKLCHoklch(55.15% 0.191 337.8)
XYZxyz(25.6246, 14.5854, 31.1654)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B33798 #37B352
analogous
#9037B3 #B33798 #B3375A
triadic
#B33798 #98B337 #3798B3
tetradic
#B33798 #B39037 #37B352 #375AB3
square
#B33798 #B39037 #37B352 #375AB3
split-complementary
#B33798 #5AB337 #37B390
monochromatic
#551A48 #842970 #B33798 #CD5BB4 #DB8AC9

Accessibility & contrast

On white

5.36
#B33798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B33798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B33798
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B33798#FFFFFF#000000##FFFFFF
##B337981.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E9B
Deuteranopia (green-blind)
#647295
Tritanopia (blue-blind)
#BD3D63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b33798;
/* rgb */ color: rgb(179, 55, 152);
/* oklch */ color: oklch(55.1% 0.191 337.8);
Tailwind
colors: {
  custom: {
    50: '#cd78b6',
    500: '#b33798',
    950: '#000000',
  },
}
SCSS
$custom: #b33798;
$custom-light: #cd78b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b33798",
  "rgb": {
    "r": 179,
    "g": 55,
    "b": 152
  },
  "hsl": {
    "h": 313.065,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5515,
    "c": 0.19059,
    "h": 337.8
  },
  "luminance": 0.14583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B33798

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

Preview Lab → · Contrast checker → · Palette generator →

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