#B13786#B13786

#B13786 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.177 H 344.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B13786
RGBrgb(177, 55, 134)
HSLhsl(321, 53%, 45%)
HSVhsv(321, 69%, 69%)
CMYKcmyk(0%, 68.9%, 24.3%, 30.6%)
CIE-LABlab(43.95, 56.75, -17.39)
CIE-LCHlch(43.95, 59.36, 342.97°)
OKLaboklab(54.02% 0.1713 -0.0462)
OKLCHoklch(54.02% 0.177 344.9)
XYZxyz(23.8016, 13.8031, 23.9604)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13786 #37B162
analogous
#9F37B1 #B13786 #B13749
triadic
#B13786 #86B137 #3786B1
tetradic
#B13786 #B19F37 #37B162 #3749B1
square
#B13786 #B19F37 #37B162 #3749B1
split-complementary
#B13786 #49B137 #37B19F
monochromatic
#541A3F #822863 #B13786 #CC5AA3 #DA88BD

Accessibility & contrast

On white

5.58
#B13786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B13786
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13786#FFFFFF#000000##FFFFFF
##B137861.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B88
Deuteranopia (green-blind)
#696F83
Tritanopia (blue-blind)
#BD3659
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b13786;
/* rgb */ color: rgb(177, 55, 134);
/* oklch */ color: oklch(54.0% 0.177 344.9);
Tailwind
colors: {
  custom: {
    50: '#cc77a9',
    500: '#b13786',
    950: '#000000',
  },
}
SCSS
$custom: #b13786;
$custom-light: #cc77a9;
$custom-dark: #000000;
JSON
{
  "hex": "#b13786",
  "rgb": {
    "r": 177,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 321.148,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54022,
    "c": 0.17743,
    "h": 344.9
  },
  "luminance": 0.13801
}

Semantic roles & 50–950 ramp

primary
#B13786
secondary
#80C498
accent
#DC7F4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B13786

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

Preview Lab → · Contrast checker → · Palette generator →

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