#B31756#B31756

#B31756 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.189 H 4.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#B31756
RGBrgb(179, 23, 86)
HSLhsl(336, 77%, 40%)
HSVhsv(336, 87%, 70%)
CMYKcmyk(0%, 87.2%, 52%, 29.8%)
CIE-LABlab(39.36, 61.60, 5.77)
CIE-LCHlch(39.36, 61.87, 5.35°)
OKLaboklab(50.2% 0.1888 0.0152)
OKLCHoklch(50.2% 0.189 4.6)
XYZxyz(20.5785, 10.8714, 9.8171)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31756 #17B374
analogous
#B317A4 #B31756 #B32617
triadic
#B31756 #56B317 #1756B3
tetradic
#B31756 #A4B317 #17B374 #2617B3
square
#B31756 #A4B317 #17B374 #2617B3
split-complementary
#B31756 #17B326 #17A4B3
monochromatic
#470922 #7D103C #B31756 #E32471 #EA5B94

Accessibility & contrast

On white

6.62
#B31756 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#B31756 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31756
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31756#FFFFFF#000000##FFFFFF
##B317561.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A57
Deuteranopia (green-blind)
#6D6752
Tritanopia (blue-blind)
#C30036
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31756;
/* rgb */ color: rgb(179, 23, 86);
/* oklch */ color: oklch(50.2% 0.189 4.6);
Tailwind
colors: {
  custom: {
    50: '#d06a85',
    500: '#b31756',
    950: '#000000',
  },
}
SCSS
$custom: #b31756;
$custom-light: #d06a85;
$custom-dark: #000000;
JSON
{
  "hex": "#b31756",
  "rgb": {
    "r": 179,
    "g": 23,
    "b": 86
  },
  "hsl": {
    "h": 335.769,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50199,
    "c": 0.18939,
    "h": 4.6
  },
  "luminance": 0.10868
}

Semantic roles & 50–950 ramp

primary
#B31756
secondary
#58CD9E
accent
#F4A634
background
#FDF6F8
surface
#FBECEF
border
#D4C7CA
text
#15080B
muted
#837A7C

Preview Lab

Preview with #B31756

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

Preview Lab → · Contrast checker → · Palette generator →

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