#B1317E#B1317E

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

Color values

HEX#B1317E
RGBrgb(177, 49, 126)
HSLhsl(324, 57%, 44%)
HSVhsv(324, 72%, 69%)
CMYKcmyk(0%, 72.3%, 28.8%, 30.6%)
CIE-LABlab(42.84, 57.93, -14.18)
CIE-LCHlch(42.84, 59.64, 346.25°)
OKLaboklab(53.11% 0.1763 -0.0373)
OKLCHoklch(53.11% 0.18 348.1)
XYZxyz(22.9968, 13.0526, 21.0430)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1317E #31B164
analogous
#A431B1 #B1317E #B1313E
triadic
#B1317E #7EB131 #317EB1
tetradic
#B1317E #B1A431 #31B164 #313EB1
square
#B1317E #B1A431 #31B164 #313EB1
split-complementary
#B1317E #3EB131 #31B1A4
monochromatic
#51163A #81245C #B1317E #CF519C #DC80B7

Accessibility & contrast

On white

5.82
#B1317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B1317E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1317E
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1317E#FFFFFF#000000##FFFFFF
##B1317E1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435780
Deuteranopia (green-blind)
#696D7B
Tritanopia (blue-blind)
#BE2C53
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b1317e;
/* rgb */ color: rgb(177, 49, 126);
/* oklch */ color: oklch(53.1% 0.180 348.1);
Tailwind
colors: {
  custom: {
    50: '#cc74a3',
    500: '#b1317e',
    950: '#000000',
  },
}
SCSS
$custom: #b1317e;
$custom-light: #cc74a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b1317e",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 323.906,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53109,
    "c": 0.18021,
    "h": 348.1
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#B1317E
secondary
#79C597
accent
#E08448
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B1317E

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

Preview Lab → · Contrast checker → · Palette generator →

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