#B31977#B31977

#B31977 is a mid, highly saturated pink. Relative luminance 0.116; OKLCH L 51.5% C 0.200 H 350.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B31977
RGBrgb(179, 25, 119)
HSLhsl(323, 75%, 40%)
HSVhsv(323, 86%, 70%)
CMYKcmyk(0%, 86%, 33.5%, 29.8%)
CIE-LABlab(40.60, 64.30, -13.23)
CIE-LCHlch(40.60, 65.64, 348.37°)
OKLaboklab(51.45% 0.1974 -0.0345)
OKLCHoklch(51.45% 0.2 350.1)
XYZxyz(22.2692, 11.6137, 18.5181)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31977 #19B355
analogous
#A219B3 #B31977 #B3192A
triadic
#B31977 #77B319 #1977B3
tetradic
#B31977 #B3A219 #19B355 #192AB3
square
#B31977 #B3A219 #19B355 #192AB3
split-complementary
#B31977 #2AB319 #19B3A2
monochromatic
#480A30 #7D1253 #B31977 #E12899 #E85EB2

Accessibility & contrast

On white

6.32
#B31977 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31977
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31977#FFFFFF#000000##FFFFFF
##B319771.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F79
Deuteranopia (green-blind)
#666974
Tritanopia (blue-blind)
#C10348
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b31977;
/* rgb */ color: rgb(179, 25, 119);
/* oklch */ color: oklch(51.5% 0.200 350.1);
Tailwind
colors: {
  custom: {
    50: '#cf6c9e',
    500: '#b31977',
    950: '#000000',
  },
}
SCSS
$custom: #b31977;
$custom-light: #cf6c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#b31977",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 323.377,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.51454,
    "c": 0.2004,
    "h": 350.1
  },
  "luminance": 0.11611
}

Semantic roles & 50–950 ramp

primary
#B31977
secondary
#5BCC87
accent
#F27F36
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080E
muted
#837B7E

Preview Lab

Preview with #B31977

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

Preview Lab → · Contrast checker → · Palette generator →

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