#B13173#B13173

#B13173 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.175 H 353.3°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B13173
RGBrgb(177, 49, 115)
HSLhsl(329, 57%, 44%)
HSVhsv(329, 72%, 69%)
CMYKcmyk(0%, 72.3%, 35%, 30.6%)
CIE-LABlab(42.44, 56.62, -8.00)
CIE-LCHlch(42.44, 57.18, 351.95°)
OKLaboklab(52.68% 0.1734 -0.0205)
OKLCHoklch(52.68% 0.175 353.3)
XYZxyz(22.3256, 12.7842, 17.5082)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B13173 #31B16F
analogous
#AF31B1 #B13173 #B13133
triadic
#B13173 #73B131 #3173B1
tetradic
#B13173 #B1AF31 #31B16F #3133B1
square
#B13173 #B1AF31 #31B16F #3133B1
split-complementary
#B13173 #33B131 #31B1AF
monochromatic
#511635 #812454 #B13173 #CF5192 #DC80B0

Accessibility & contrast

On white

5.90
#B13173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B13173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B13173
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B13173#FFFFFF#000000##FFFFFF
##B131731.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485575
Deuteranopia (green-blind)
#6C6D70
Tritanopia (blue-blind)
#BF264E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b13173;
/* rgb */ color: rgb(177, 49, 115);
/* oklch */ color: oklch(52.7% 0.175 353.3);
Tailwind
colors: {
  custom: {
    50: '#cd749b',
    500: '#b13173',
    950: '#000000',
  },
}
SCSS
$custom: #b13173;
$custom-light: #cd749b;
$custom-dark: #000000;
JSON
{
  "hex": "#b13173",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 329.063,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52678,
    "c": 0.17464,
    "h": 353.3
  },
  "luminance": 0.12782
}

Semantic roles & 50–950 ramp

primary
#B13173
secondary
#79C59E
accent
#E09248
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B13173

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

Preview Lab → · Contrast checker → · Palette generator →

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