#B13397#B13397

#B13397 is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.4% C 0.194 H 337.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B13397
RGBrgb(177, 51, 151)
HSLhsl(312, 55%, 45%)
HSVhsv(312, 71%, 69%)
CMYKcmyk(0%, 71.2%, 14.7%, 30.6%)
CIE-LABlab(44.16, 60.61, -27.35)
CIE-LCHlch(44.16, 66.50, 335.71°)
OKLaboklab(54.42% 0.1787 -0.0743)
OKLCHoklch(54.42% 0.194 337.4)
XYZxyz(24.9017, 13.9514, 30.6536)
Luminance0.1395 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13397 #33B14D
analogous
#8C33B1 #B13397 #B13358
triadic
#B13397 #97B133 #3397B1
tetradic
#B13397 #B18C33 #33B14D #3358B1
square
#B13397 #B18C33 #33B14D #3358B1
split-complementary
#B13397 #58B133 #33B18C
monochromatic
#521846 #81256E #B13397 #CE54B4 #DB83C9

Accessibility & contrast

On white

5.54
#B13397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B13397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13397
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13397#FFFFFF#000000##FFFFFF
##B133971.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#616F94
Tritanopia (blue-blind)
#BB3A61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b13397;
/* rgb */ color: rgb(177, 51, 151);
/* oklch */ color: oklch(54.4% 0.194 337.4);
Tailwind
colors: {
  custom: {
    50: '#cc76b6',
    500: '#b13397',
    950: '#000000',
  },
}
SCSS
$custom: #b13397;
$custom-light: #cc76b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b13397",
  "rgb": {
    "r": 177,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 312.381,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54419,
    "c": 0.19353,
    "h": 337.4
  },
  "luminance": 0.13949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B13397

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

Preview Lab → · Contrast checker → · Palette generator →

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