#B33298#B33298

#B33298 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.7% C 0.197 H 337.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B33298
RGBrgb(179, 50, 152)
HSLhsl(313, 56%, 45%)
HSVhsv(313, 72%, 70%)
CMYKcmyk(0%, 72.1%, 15.1%, 29.8%)
CIE-LABlab(44.42, 61.60, -27.52)
CIE-LCHlch(44.42, 67.47, 335.93°)
OKLaboklab(54.69% 0.1819 -0.0747)
OKLCHoklch(54.69% 0.197 337.7)
XYZxyz(25.3990, 14.1343, 31.0902)
Luminance0.1413 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B33298 #32B34D
analogous
#8D32B3 #B33298 #B33258
triadic
#B33298 #98B332 #3298B3
tetradic
#B33298 #B38D32 #32B34D #3258B3
square
#B33298 #B38D32 #32B34D #3258B3
split-complementary
#B33298 #58B332 #32B38D
monochromatic
#531747 #83256F #B33298 #CF53B5 #DC83CA

Accessibility & contrast

On white

5.49
#B33298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B33298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B33298
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B33298#FFFFFF#000000##FFFFFF
##B332981.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9B
Deuteranopia (green-blind)
#627095
Tritanopia (blue-blind)
#BD3961
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b33298;
/* rgb */ color: rgb(179, 50, 152);
/* oklch */ color: oklch(54.7% 0.197 337.7);
Tailwind
colors: {
  custom: {
    50: '#cd76b6',
    500: '#b33298',
    950: '#000000',
  },
}
SCSS
$custom: #b33298;
$custom-light: #cd76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b33298",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 312.558,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54688,
    "c": 0.19661,
    "h": 337.7
  },
  "luminance": 0.14132
}

Semantic roles & 50–950 ramp

primary
#B33298
secondary
#7BC68B
accent
#E06848
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B33298

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

Preview Lab → · Contrast checker → · Palette generator →

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