#B13787#B13787

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

Color values

HEX#B13787
RGBrgb(177, 55, 135)
HSLhsl(321, 53%, 45%)
HSVhsv(321, 69%, 69%)
CMYKcmyk(0%, 68.9%, 23.7%, 30.6%)
CIE-LABlab(43.99, 56.89, -17.93)
CIE-LCHlch(43.99, 59.65, 342.50°)
OKLaboklab(54.07% 0.1715 -0.0477)
OKLCHoklch(54.07% 0.178 344.4)
XYZxyz(23.8717, 13.8312, 24.3295)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13787 #37B161
analogous
#9E37B1 #B13787 #B1374A
triadic
#B13787 #87B137 #3787B1
tetradic
#B13787 #B19E37 #37B161 #374AB1
square
#B13787 #B19E37 #37B161 #374AB1
split-complementary
#B13787 #4AB137 #37B19E
monochromatic
#541A40 #822863 #B13787 #CC5AA4 #DA88BE

Accessibility & contrast

On white

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

On black

3.77
#B13787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B13787#FFFFFF#000000##FFFFFF
##B137871.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445B89
Deuteranopia (green-blind)
#686F84
Tritanopia (blue-blind)
#BC365A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b13787;
/* rgb */ color: rgb(177, 55, 135);
/* oklch */ color: oklch(54.1% 0.178 344.4);
Tailwind
colors: {
  custom: {
    50: '#cc77aa',
    500: '#b13787',
    950: '#000000',
  },
}
SCSS
$custom: #b13787;
$custom-light: #cc77aa;
$custom-dark: #000000;
JSON
{
  "hex": "#b13787",
  "rgb": {
    "r": 177,
    "g": 55,
    "b": 135
  },
  "hsl": {
    "h": 320.656,
    "s": 52.586,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54065,
    "c": 0.17803,
    "h": 344.4
  },
  "luminance": 0.13829
}

Semantic roles & 50–950 ramp

primary
#B13787
secondary
#80C497
accent
#DC7D4C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B13787

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

Preview Lab → · Contrast checker → · Palette generator →

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