#B1316E#B1316E

#B1316E is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.172 H 355.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B1316E
RGBrgb(177, 49, 110)
HSLhsl(331, 57%, 44%)
HSVhsv(331, 72%, 69%)
CMYKcmyk(0%, 72.3%, 37.9%, 30.6%)
CIE-LABlab(42.27, 56.06, -5.16)
CIE-LCHlch(42.27, 56.30, 354.74°)
OKLaboklab(52.5% 0.1719 -0.0129)
OKLCHoklch(52.5% 0.172 355.7)
XYZxyz(22.0457, 12.6722, 16.0339)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1316E #31B174
analogous
#B131AE #B1316E #B13431
triadic
#B1316E #6EB131 #316EB1
tetradic
#B1316E #AEB131 #31B174 #3431B1
square
#B1316E #AEB131 #31B174 #3431B1
split-complementary
#B1316E #31B134 #31AEB1
monochromatic
#511632 #812450 #B1316E #CF518D #DC80AC

Accessibility & contrast

On white

5.94
#B1316E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B1316E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1316E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1316E#FFFFFF#000000##FFFFFF
##B1316E1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495570
Deuteranopia (green-blind)
#6D6C6B
Tritanopia (blue-blind)
#BF234B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b1316e;
/* rgb */ color: rgb(177, 49, 110);
/* oklch */ color: oklch(52.5% 0.172 355.7);
Tailwind
colors: {
  custom: {
    50: '#cd7497',
    500: '#b1316e',
    950: '#000000',
  },
}
SCSS
$custom: #b1316e;
$custom-light: #cd7497;
$custom-dark: #000000;
JSON
{
  "hex": "#b1316e",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 331.406,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52497,
    "c": 0.17242,
    "h": 355.7
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

primary
#B1316E
secondary
#79C5A1
accent
#E09748
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #B1316E

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

Preview Lab → · Contrast checker → · Palette generator →

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