#B13796#B13796

#B13796 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.7% C 0.188 H 338.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B13796
RGBrgb(177, 55, 150)
HSLhsl(313, 53%, 45%)
HSVhsv(313, 69%, 69%)
CMYKcmyk(0%, 68.9%, 15.3%, 30.6%)
CIE-LABlab(44.64, 59.01, -26.01)
CIE-LCHlch(44.64, 64.48, 336.21°)
OKLaboklab(54.75% 0.1742 -0.0705)
OKLCHoklch(54.75% 0.188 338)
XYZxyz(25.0032, 14.2838, 30.2885)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13796 #37B152
analogous
#8F37B1 #B13796 #B13759
triadic
#B13796 #96B137 #3796B1
tetradic
#B13796 #B18F37 #37B152 #3759B1
square
#B13796 #B18F37 #37B152 #3759B1
split-complementary
#B13796 #59B137 #37B18F
monochromatic
#541A47 #82286E #B13796 #CC5AB2 #DA88C8

Accessibility & contrast

On white

5.45
#B13796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B13796
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13796#FFFFFF#000000##FFFFFF
##B137961.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5D99
Deuteranopia (green-blind)
#637093
Tritanopia (blue-blind)
#BB3D62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b13796;
/* rgb */ color: rgb(177, 55, 150);
/* oklch */ color: oklch(54.7% 0.188 338.0);
Tailwind
colors: {
  custom: {
    50: '#cc78b5',
    500: '#b13796',
    950: '#000000',
  },
}
SCSS
$custom: #b13796;
$custom-light: #cc78b5;
$custom-dark: #000000;
JSON
{
  "hex": "#b13796",
  "rgb": {
    "r": 177,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 313.279,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54748,
    "c": 0.18792,
    "h": 338
  },
  "luminance": 0.14281
}

Semantic roles & 50–950 ramp

primary
#B13796
secondary
#80C48F
accent
#DC6C4C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #B13796

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

Preview Lab → · Contrast checker → · Palette generator →

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