#B13197#B13197

#B13197 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.2% C 0.196 H 337.4°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B13197
RGBrgb(177, 49, 151)
HSLhsl(312, 57%, 44%)
HSVhsv(312, 72%, 69%)
CMYKcmyk(0%, 72.3%, 14.7%, 30.6%)
CIE-LABlab(43.92, 61.31, -27.74)
CIE-LCHlch(43.92, 67.29, 335.66°)
OKLaboklab(54.24% 0.1808 -0.0753)
OKLCHoklch(54.24% 0.196 337.4)
XYZxyz(24.8162, 13.7804, 30.6251)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13197 #31B14B
analogous
#8B31B1 #B13197 #B13157
triadic
#B13197 #97B131 #3197B1
tetradic
#B13197 #B18B31 #31B14B #3157B1
square
#B13197 #B18B31 #31B14B #3157B1
split-complementary
#B13197 #57B131 #31B18B
monochromatic
#511645 #81246E #B13197 #CF51B5 #DC80C9

Accessibility & contrast

On white

5.59
#B13197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B13197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13197
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13197#FFFFFF#000000##FFFFFF
##B131971.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B9A
Deuteranopia (green-blind)
#606F94
Tritanopia (blue-blind)
#BB3860
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b13197;
/* rgb */ color: rgb(177, 49, 151);
/* oklch */ color: oklch(54.2% 0.196 337.4);
Tailwind
colors: {
  custom: {
    50: '#cc75b6',
    500: '#b13197',
    950: '#000000',
  },
}
SCSS
$custom: #b13197;
$custom-light: #cc75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b13197",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 312.188,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5424,
    "c": 0.19586,
    "h": 337.4
  },
  "luminance": 0.13778
}

Semantic roles & 50–950 ramp

primary
#B13197
secondary
#79C588
accent
#E06748
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B13197

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

Preview Lab → · Contrast checker → · Palette generator →

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