#B1317D#B1317D

#B1317D is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.180 H 348.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B1317D
RGBrgb(177, 49, 125)
HSLhsl(324, 57%, 44%)
HSVhsv(324, 72%, 69%)
CMYKcmyk(0%, 72.3%, 29.4%, 30.6%)
CIE-LABlab(42.80, 57.81, -13.62)
CIE-LCHlch(42.80, 59.39, 346.74°)
OKLaboklab(53.07% 0.1761 -0.0358)
OKLCHoklch(53.07% 0.18 348.5)
XYZxyz(22.9326, 13.0270, 20.7048)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1317D #31B165
analogous
#A531B1 #B1317D #B1313D
triadic
#B1317D #7DB131 #317DB1
tetradic
#B1317D #B1A531 #31B165 #313DB1
square
#B1317D #B1A531 #31B165 #313DB1
split-complementary
#B1317D #3DB131 #31B1A5
monochromatic
#511639 #81245B #B1317D #CF519B #DC80B7

Accessibility & contrast

On white

5.83
#B1317D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#B1317D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1317D
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1317D#FFFFFF#000000##FFFFFF
##B1317D1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44577F
Deuteranopia (green-blind)
#696D7A
Tritanopia (blue-blind)
#BE2B53
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b1317d;
/* rgb */ color: rgb(177, 49, 125);
/* oklch */ color: oklch(53.1% 0.180 348.5);
Tailwind
colors: {
  custom: {
    50: '#cc74a2',
    500: '#b1317d',
    950: '#000000',
  },
}
SCSS
$custom: #b1317d;
$custom-light: #cc74a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b1317d",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 324.375,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53068,
    "c": 0.17967,
    "h": 348.5
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#B1317D
secondary
#79C598
accent
#E08648
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B1317D

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

Preview Lab → · Contrast checker → · Palette generator →

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