#B33897#B33897

#B33897 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.2% C 0.189 H 338.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B33897
RGBrgb(179, 56, 151)
HSLhsl(314, 52%, 46%)
HSVhsv(314, 69%, 70%)
CMYKcmyk(0%, 68.7%, 15.6%, 29.8%)
CIE-LABlab(45.15, 59.29, -25.79)
CIE-LCHlch(45.15, 64.66, 336.49°)
OKLaboklab(55.2% 0.1752 -0.0698)
OKLCHoklch(55.2% 0.189 338.3)
XYZxyz(25.5910, 14.6487, 30.7519)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B33897 #38B354
analogous
#9138B3 #B33897 #B33859
triadic
#B33897 #97B338 #3897B3
tetradic
#B33897 #B39138 #38B354 #3859B3
square
#B33897 #B39138 #38B354 #3859B3
split-complementary
#B33897 #59B338 #38B391
monochromatic
#561B48 #842970 #B33897 #CC5CB3 #DB8BC8

Accessibility & contrast

On white

5.34
#B33897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B33897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B33897
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B33897#FFFFFF#000000##FFFFFF
##B338971.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b33897;
/* rgb */ color: rgb(179, 56, 151);
/* oklch */ color: oklch(55.2% 0.189 338.3);
Tailwind
colors: {
  custom: {
    50: '#cd79b6',
    500: '#b33897',
    950: '#000000',
  },
}
SCSS
$custom: #b33897;
$custom-light: #cd79b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b33897",
  "rgb": {
    "r": 179,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 313.659,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55199,
    "c": 0.18864,
    "h": 338.3
  },
  "luminance": 0.14646
}

Semantic roles & 50–950 ramp

primary
#B33897
secondary
#82C591
accent
#DC6D4C
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140A11
muted
#837C80

Preview Lab

Preview with #B33897

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

Preview Lab → · Contrast checker → · Palette generator →

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