#B33198#B33198

#B33198 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.6% C 0.198 H 337.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B33198
RGBrgb(179, 49, 152)
HSLhsl(312, 57%, 45%)
HSVhsv(312, 73%, 70%)
CMYKcmyk(0%, 72.6%, 15.1%, 29.8%)
CIE-LABlab(44.30, 61.94, -27.71)
CIE-LCHlch(44.30, 67.86, 335.90°)
OKLaboklab(54.6% 0.1829 -0.0752)
OKLCHoklch(54.6% 0.198 337.6)
XYZxyz(25.3567, 14.0497, 31.0761)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B33198 #31B34C
analogous
#8D31B3 #B33198 #B33157
triadic
#B33198 #98B331 #3198B3
tetradic
#B33198 #B38D31 #31B34C #3157B3
square
#B33198 #B38D31 #31B34C #3157B3
split-complementary
#B33198 #57B331 #31B38D
monochromatic
#531746 #83246F #B33198 #D052B5 #DD82CA

Accessibility & contrast

On white

5.51
#B33198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#B33198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B33198
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B33198#FFFFFF#000000##FFFFFF
##B331981.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9B
Deuteranopia (green-blind)
#617095
Tritanopia (blue-blind)
#BD3861
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b33198;
/* rgb */ color: rgb(179, 49, 152);
/* oklch */ color: oklch(54.6% 0.198 337.6);
Tailwind
colors: {
  custom: {
    50: '#cd75b6',
    500: '#b33198',
    950: '#000000',
  },
}
SCSS
$custom: #b33198;
$custom-light: #cd75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b33198",
  "rgb": {
    "r": 179,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 312.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54601,
    "c": 0.19776,
    "h": 337.6
  },
  "luminance": 0.14047
}

Semantic roles & 50–950 ramp

primary
#B33198
secondary
#7AC68A
accent
#E06748
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B33198

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

Preview Lab → · Contrast checker → · Palette generator →

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