#B13398#B13398

#B13398 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.5% C 0.194 H 337.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B13398
RGBrgb(177, 51, 152)
HSLhsl(312, 55%, 45%)
HSVhsv(312, 71%, 69%)
CMYKcmyk(0%, 71.2%, 14.1%, 30.6%)
CIE-LABlab(44.21, 60.76, -27.88)
CIE-LCHlch(44.21, 66.85, 335.35°)
OKLaboklab(54.47% 0.1788 -0.0758)
OKLCHoklch(54.47% 0.194 337)
XYZxyz(24.9832, 13.9840, 31.0831)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13398 #33B14C
analogous
#8B33B1 #B13398 #B13359
triadic
#B13398 #98B133 #3398B1
tetradic
#B13398 #B18B33 #33B14C #3359B1
square
#B13398 #B18B33 #33B14C #3359B1
split-complementary
#B13398 #59B133 #33B18B
monochromatic
#521846 #81256F #B13398 #CE54B5 #DB83CA

Accessibility & contrast

On white

5.53
#B13398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B13398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13398
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13398#FFFFFF#000000##FFFFFF
##B133981.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9B
Deuteranopia (green-blind)
#616F95
Tritanopia (blue-blind)
#BA3A61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b13398;
/* rgb */ color: rgb(177, 51, 152);
/* oklch */ color: oklch(54.5% 0.194 337.0);
Tailwind
colors: {
  custom: {
    50: '#cc76b6',
    500: '#b13398',
    950: '#000000',
  },
}
SCSS
$custom: #b13398;
$custom-light: #cc76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b13398",
  "rgb": {
    "r": 177,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 311.905,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54468,
    "c": 0.19422,
    "h": 337
  },
  "luminance": 0.13982
}

Semantic roles & 50–950 ramp

primary
#B13398
secondary
#7BC58A
accent
#DF6749
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B13398

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

Preview Lab → · Contrast checker → · Palette generator →

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