#B1317A#B1317A

#B1317A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.9% C 0.178 H 349.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B1317A
RGBrgb(177, 49, 122)
HSLhsl(326, 57%, 44%)
HSVhsv(326, 72%, 69%)
CMYKcmyk(0%, 72.3%, 31.1%, 30.6%)
CIE-LABlab(42.69, 57.44, -11.95)
CIE-LCHlch(42.69, 58.67, 348.25°)
OKLaboklab(52.95% 0.1753 -0.0312)
OKLCHoklch(52.95% 0.178 349.9)
XYZxyz(22.7438, 12.9514, 19.7107)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1317A #31B168
analogous
#A831B1 #B1317A #B1313A
triadic
#B1317A #7AB131 #317AB1
tetradic
#B1317A #B1A831 #31B168 #313AB1
square
#B1317A #B1A831 #31B168 #313AB1
split-complementary
#B1317A #3AB131 #31B1A8
monochromatic
#511638 #812459 #B1317A #CF5198 #DC80B5

Accessibility & contrast

On white

5.85
#B1317A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#B1317A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1317A
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1317A#FFFFFF#000000##FFFFFF
##B1317A1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45567C
Deuteranopia (green-blind)
#6A6D77
Tritanopia (blue-blind)
#BE2A51
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b1317a;
/* rgb */ color: rgb(177, 49, 122);
/* oklch */ color: oklch(52.9% 0.178 349.9);
Tailwind
colors: {
  custom: {
    50: '#cd74a0',
    500: '#b1317a',
    950: '#000000',
  },
}
SCSS
$custom: #b1317a;
$custom-light: #cd74a0;
$custom-dark: #000000;
JSON
{
  "hex": "#b1317a",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 325.781,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52948,
    "c": 0.17807,
    "h": 349.9
  },
  "luminance": 0.12949
}

Semantic roles & 50–950 ramp

primary
#B1317A
secondary
#79C59A
accent
#E08948
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #B1317A

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

Preview Lab → · Contrast checker → · Palette generator →

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