#B13872#B13872

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

Color values

HEX#B13872
RGBrgb(177, 56, 114)
HSLhsl(331, 52%, 46%)
HSVhsv(331, 68%, 69%)
CMYKcmyk(0%, 68.4%, 35.6%, 30.6%)
CIE-LABlab(43.35, 53.87, -6.02)
CIE-LCHlch(43.35, 54.21, 353.62°)
OKLaboklab(53.34% 0.1648 -0.0152)
OKLCHoklch(53.34% 0.166 354.7)
XYZxyz(22.5842, 13.3930, 17.3121)
Luminance0.1339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13872 #38B177
analogous
#B138AE #B13872 #B13B38
triadic
#B13872 #72B138 #3872B1
tetradic
#B13872 #AEB138 #38B177 #3B38B1
square
#B13872 #AEB138 #38B177 #3B38B1
split-complementary
#B13872 #38B13B #38AEB1
monochromatic
#541B36 #832954 #B13872 #CB5B91 #DA8AB0

Accessibility & contrast

On white

5.71
#B13872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#B13872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13872
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13872#FFFFFF#000000##FFFFFF
##B138721.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5874
Deuteranopia (green-blind)
#6E6F6F
Tritanopia (blue-blind)
#BF2E50
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b13872;
/* rgb */ color: rgb(177, 56, 114);
/* oklch */ color: oklch(53.3% 0.166 354.7);
Tailwind
colors: {
  custom: {
    50: '#cd779a',
    500: '#b13872',
    950: '#000000',
  },
}
SCSS
$custom: #b13872;
$custom-light: #cd779a;
$custom-dark: #000000;
JSON
{
  "hex": "#b13872",
  "rgb": {
    "r": 177,
    "g": 56,
    "b": 114
  },
  "hsl": {
    "h": 331.24,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53339,
    "c": 0.16553,
    "h": 354.7
  },
  "luminance": 0.1339
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B13872

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

Preview Lab → · Contrast checker → · Palette generator →

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