#B33398#B33398

#B33398 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.8% C 0.195 H 337.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B33398
RGBrgb(179, 51, 152)
HSLhsl(313, 56%, 45%)
HSVhsv(313, 72%, 70%)
CMYKcmyk(0%, 71.5%, 15.1%, 29.8%)
CIE-LABlab(44.55, 61.26, -27.33)
CIE-LCHlch(44.55, 67.07, 335.96°)
OKLaboklab(54.78% 0.1808 -0.0742)
OKLCHoklch(54.78% 0.195 337.7)
XYZxyz(25.4422, 14.2207, 31.1046)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B33398 #33B34E
analogous
#8E33B3 #B33398 #B33358
triadic
#B33398 #98B333 #3398B3
tetradic
#B33398 #B38E33 #33B34E #3358B3
square
#B33398 #B38E33 #33B34E #3358B3
split-complementary
#B33398 #58B333 #33B38E
monochromatic
#541847 #832570 #B33398 #CE55B5 #DC84CA

Accessibility & contrast

On white

5.46
#B33398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B33398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B33398
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B33398#FFFFFF#000000##FFFFFF
##B333981.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385D9B
Deuteranopia (green-blind)
#627095
Tritanopia (blue-blind)
#BD3A61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b33398;
/* rgb */ color: rgb(179, 51, 152);
/* oklch */ color: oklch(54.8% 0.195 337.7);
Tailwind
colors: {
  custom: {
    50: '#cd76b6',
    500: '#b33398',
    950: '#000000',
  },
}
SCSS
$custom: #b33398;
$custom-light: #cd76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b33398",
  "rgb": {
    "r": 179,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 312.656,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54777,
    "c": 0.19544,
    "h": 337.7
  },
  "luminance": 0.14218
}

Semantic roles & 50–950 ramp

primary
#B33398
secondary
#7CC68C
accent
#DF6949
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B33398

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

Preview Lab → · Contrast checker → · Palette generator →

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