#B31596#B31596

#B31596 is a mid, highly saturated pink. Relative luminance 0.123; OKLCH L 52.7% C 0.220 H 337.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B31596
RGBrgb(179, 21, 150)
HSLhsl(311, 79%, 39%)
HSVhsv(311, 88%, 70%)
CMYKcmyk(0%, 88.3%, 16.2%, 29.8%)
CIE-LABlab(41.73, 68.80, -30.53)
CIE-LCHlch(41.73, 75.27, 336.07°)
OKLaboklab(52.72% 0.2042 -0.0831)
OKLCHoklch(52.72% 0.22 337.8)
XYZxyz(24.3642, 12.3245, 29.9440)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31596 #15B332
analogous
#8115B3 #B31596 #B31547
triadic
#B31596 #96B315 #1596B3
tetradic
#B31596 #B38115 #15B332 #1547B3
square
#B31596 #B38115 #15B332 #1547B3
split-complementary
#B31596 #47B315 #15B381
monochromatic
#45083A #7C0F68 #B31596 #E520C1 #EB57D0

Accessibility & contrast

On white

6.06
#B31596 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B31596 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31596
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31596#FFFFFF#000000##FFFFFF
##B315961.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5499
Deuteranopia (green-blind)
#5A6B93
Tritanopia (blue-blind)
#BD2359
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b31596;
/* rgb */ color: rgb(179, 21, 150);
/* oklch */ color: oklch(52.7% 0.220 337.8);
Tailwind
colors: {
  custom: {
    50: '#ce6cb5',
    500: '#b31596',
    950: '#000000',
  },
}
SCSS
$custom: #b31596;
$custom-light: #ce6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#b31596",
  "rgb": {
    "r": 179,
    "g": 21,
    "b": 150
  },
  "hsl": {
    "h": 311.013,
    "s": 79,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52718,
    "c": 0.22043,
    "h": 337.8
  },
  "luminance": 0.12322
}

Semantic roles & 50–950 ramp

primary
#B31596
secondary
#56CE6C
accent
#F55632
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B31596

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

Preview Lab → · Contrast checker → · Palette generator →

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