#B1317C#B1317C

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

Color values

HEX#B1317C
RGBrgb(177, 49, 124)
HSLhsl(325, 57%, 44%)
HSVhsv(325, 72%, 69%)
CMYKcmyk(0%, 72.3%, 29.9%, 30.6%)
CIE-LABlab(42.77, 57.69, -13.07)
CIE-LCHlch(42.77, 59.15, 347.24°)
OKLaboklab(53.03% 0.1758 -0.0342)
OKLCHoklch(53.03% 0.179 349)
XYZxyz(22.8690, 13.0015, 20.3701)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1317C #31B166
analogous
#A631B1 #B1317C #B1313C
triadic
#B1317C #7CB131 #317CB1
tetradic
#B1317C #B1A631 #31B166 #313CB1
square
#B1317C #B1A631 #31B166 #313CB1
split-complementary
#B1317C #3CB131 #31B1A6
monochromatic
#511639 #81245A #B1317C #CF519A #DC80B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1317C#FFFFFF#000000##FFFFFF
##B1317C1.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)
#44577E
Deuteranopia (green-blind)
#696D79
Tritanopia (blue-blind)
#BE2B52
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b1317c;
/* rgb */ color: rgb(177, 49, 124);
/* oklch */ color: oklch(53.0% 0.179 349.0);
Tailwind
colors: {
  custom: {
    50: '#cd74a2',
    500: '#b1317c',
    950: '#000000',
  },
}
SCSS
$custom: #b1317c;
$custom-light: #cd74a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b1317c",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 324.844,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53028,
    "c": 0.17913,
    "h": 349
  },
  "luminance": 0.12999
}

Semantic roles & 50–950 ramp

primary
#B1317C
secondary
#79C598
accent
#E08748
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B1317C

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

Preview Lab → · Contrast checker → · Palette generator →

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