#B13871#B13871

#B13871 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.3% C 0.165 H 355.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#B13871
RGBrgb(177, 56, 113)
HSLhsl(332, 52%, 46%)
HSVhsv(332, 68%, 69%)
CMYKcmyk(0%, 68.4%, 36.2%, 30.6%)
CIE-LABlab(43.32, 53.76, -5.46)
CIE-LCHlch(43.32, 54.03, 354.21°)
OKLaboklab(53.3% 0.1645 -0.0137)
OKLCHoklch(53.3% 0.165 355.2)
XYZxyz(22.5276, 13.3703, 17.0140)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13871 #38B178
analogous
#B138AD #B13871 #B13C38
triadic
#B13871 #71B138 #3871B1
tetradic
#B13871 #ADB138 #38B178 #3C38B1
square
#B13871 #ADB138 #38B178 #3C38B1
split-complementary
#B13871 #38B13C #38ADB1
monochromatic
#541B36 #832953 #B13871 #CB5B90 #DA8AAF

Accessibility & contrast

On white

5.72
#B13871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#B13871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13871
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13871#FFFFFF#000000##FFFFFF
##B138711.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5873
Deuteranopia (green-blind)
#6F6F6E
Tritanopia (blue-blind)
#BF2D50
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b13871;
/* rgb */ color: rgb(177, 56, 113);
/* oklch */ color: oklch(53.3% 0.165 355.2);
Tailwind
colors: {
  custom: {
    50: '#cd7799',
    500: '#b13871',
    950: '#000000',
  },
}
SCSS
$custom: #b13871;
$custom-light: #cd7799;
$custom-dark: #000000;
JSON
{
  "hex": "#b13871",
  "rgb": {
    "r": 177,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 331.736,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53303,
    "c": 0.16509,
    "h": 355.2
  },
  "luminance": 0.13368
}

Semantic roles & 50–950 ramp

primary
#B13871
secondary
#81C4A4
accent
#DB984C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B13871

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

Preview Lab → · Contrast checker → · Palette generator →

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