#B1317F#B1317F

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

Color values

HEX#B1317F
RGBrgb(177, 49, 127)
HSLhsl(323, 57%, 44%)
HSVhsv(323, 72%, 69%)
CMYKcmyk(0%, 72.3%, 28.2%, 30.6%)
CIE-LABlab(42.88, 58.06, -14.73)
CIE-LCHlch(42.88, 59.90, 345.76°)
OKLaboklab(53.15% 0.1766 -0.0388)
OKLCHoklch(53.15% 0.181 347.6)
XYZxyz(23.0616, 13.0786, 21.3845)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1317F #31B163
analogous
#A331B1 #B1317F #B1313F
triadic
#B1317F #7FB131 #317FB1
tetradic
#B1317F #B1A331 #31B163 #313FB1
square
#B1317F #B1A331 #31B163 #313FB1
split-complementary
#B1317F #3FB131 #31B1A3
monochromatic
#51163A #81245D #B1317F #CF519D #DC80B8

Accessibility & contrast

On white

5.81
#B1317F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#B1317F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1317F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1317F#FFFFFF#000000##FFFFFF
##B1317F1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435781
Deuteranopia (green-blind)
#686D7C
Tritanopia (blue-blind)
#BD2C54
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b1317f;
/* rgb */ color: rgb(177, 49, 127);
/* oklch */ color: oklch(53.1% 0.181 347.6);
Tailwind
colors: {
  custom: {
    50: '#cc74a4',
    500: '#b1317f',
    950: '#000000',
  },
}
SCSS
$custom: #b1317f;
$custom-light: #cc74a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b1317f",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 323.438,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5315,
    "c": 0.18077,
    "h": 347.6
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#B1317F
secondary
#79C597
accent
#E08348
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B1317F

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

Preview Lab → · Contrast checker → · Palette generator →

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