#B13797#B13797

#B13797 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.189 H 337.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B13797
RGBrgb(177, 55, 151)
HSLhsl(313, 53%, 45%)
HSVhsv(313, 69%, 69%)
CMYKcmyk(0%, 68.9%, 14.7%, 30.6%)
CIE-LABlab(44.68, 59.15, -26.54)
CIE-LCHlch(44.68, 64.83, 335.83°)
OKLaboklab(54.8% 0.1743 -0.072)
OKLCHoklch(54.8% 0.189 337.6)
XYZxyz(25.0840, 14.3161, 30.7144)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13797 #37B151
analogous
#8E37B1 #B13797 #B1375A
triadic
#B13797 #97B137 #3797B1
tetradic
#B13797 #B18E37 #37B151 #375AB1
square
#B13797 #B18E37 #37B151 #375AB1
split-complementary
#B13797 #5AB137 #37B18E
monochromatic
#541A47 #82286F #B13797 #CC5AB3 #DA88C9

Accessibility & contrast

On white

5.44
#B13797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B13797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13797
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13797#FFFFFF#000000##FFFFFF
##B137971.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9A
Deuteranopia (green-blind)
#637094
Tritanopia (blue-blind)
#BA3D62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b13797;
/* rgb */ color: rgb(177, 55, 151);
/* oklch */ color: oklch(54.8% 0.189 337.6);
Tailwind
colors: {
  custom: {
    50: '#cc78b6',
    500: '#b13797',
    950: '#000000',
  },
}
SCSS
$custom: #b13797;
$custom-light: #cc78b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b13797",
  "rgb": {
    "r": 177,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 312.787,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54796,
    "c": 0.18862,
    "h": 337.6
  },
  "luminance": 0.14314
}

Semantic roles & 50–950 ramp

primary
#B13797
secondary
#80C48E
accent
#DC6B4C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #B13797

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

Preview Lab → · Contrast checker → · Palette generator →

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