#B31976#B31976

#B31976 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.4% C 0.200 H 350.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#B31976
RGBrgb(179, 25, 118)
HSLhsl(324, 75%, 40%)
HSVhsv(324, 86%, 70%)
CMYKcmyk(0%, 86%, 34.1%, 29.8%)
CIE-LABlab(40.56, 64.19, -12.67)
CIE-LCHlch(40.56, 65.43, 348.84°)
OKLaboklab(51.41% 0.1972 -0.033)
OKLCHoklch(51.41% 0.2 350.5)
XYZxyz(22.2094, 11.5898, 18.2035)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31976 #19B356
analogous
#A319B3 #B31976 #B31929
triadic
#B31976 #76B319 #1976B3
tetradic
#B31976 #B3A319 #19B356 #1929B3
square
#B31976 #B3A319 #19B356 #1929B3
split-complementary
#B31976 #29B319 #19B3A3
monochromatic
#480A2F #7D1253 #B31976 #E12898 #E85EB2

Accessibility & contrast

On white

6.33
#B31976 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#B31976 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31976
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31976#FFFFFF#000000##FFFFFF
##B319761.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4F78
Deuteranopia (green-blind)
#666973
Tritanopia (blue-blind)
#C10148
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b31976;
/* rgb */ color: rgb(179, 25, 118);
/* oklch */ color: oklch(51.4% 0.200 350.5);
Tailwind
colors: {
  custom: {
    50: '#cf6c9d',
    500: '#b31976',
    950: '#000000',
  },
}
SCSS
$custom: #b31976;
$custom-light: #cf6c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31976",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 323.766,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.51413,
    "c": 0.19991,
    "h": 350.5
  },
  "luminance": 0.11587
}

Semantic roles & 50–950 ramp

primary
#B31976
secondary
#5BCC88
accent
#F28036
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080E
muted
#837B7E

Preview Lab

Preview with #B31976

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

Preview Lab → · Contrast checker → · Palette generator →

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