#B31696#B31696

#B31696 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.8% C 0.220 H 337.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B31696
RGBrgb(179, 22, 150)
HSLhsl(311, 78%, 39%)
HSVhsv(311, 88%, 70%)
CMYKcmyk(0%, 87.7%, 16.2%, 29.8%)
CIE-LABlab(41.79, 68.63, -30.44)
CIE-LCHlch(41.79, 75.07, 336.08°)
OKLaboklab(52.76% 0.2036 -0.0829)
OKLCHoklch(52.76% 0.22 337.9)
XYZxyz(24.3830, 12.3620, 29.9502)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31696 #16B333
analogous
#8216B3 #B31696 #B31648
triadic
#B31696 #96B316 #1696B3
tetradic
#B31696 #B38216 #16B333 #1648B3
square
#B31696 #B38216 #16B333 #1648B3
split-complementary
#B31696 #48B316 #16B382
monochromatic
#46093B #7C0F68 #B31696 #E422C0 #EB59D0

Accessibility & contrast

On white

6.05
#B31696 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B31696 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31696
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31696#FFFFFF#000000##FFFFFF
##B316961.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205499
Deuteranopia (green-blind)
#5A6B93
Tritanopia (blue-blind)
#BD2359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b31696;
/* rgb */ color: rgb(179, 22, 150);
/* oklch */ color: oklch(52.8% 0.220 337.9);
Tailwind
colors: {
  custom: {
    50: '#ce6cb5',
    500: '#b31696',
    950: '#000000',
  },
}
SCSS
$custom: #b31696;
$custom-light: #ce6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#b31696",
  "rgb": {
    "r": 179,
    "g": 22,
    "b": 150
  },
  "hsl": {
    "h": 311.083,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5276,
    "c": 0.21985,
    "h": 337.9
  },
  "luminance": 0.1236
}

Semantic roles & 50–950 ramp

primary
#B31696
secondary
#57CE6D
accent
#F55733
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B31696

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

Preview Lab → · Contrast checker → · Palette generator →

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