#B31E77#B31E77

#B31E77 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.7% C 0.197 H 350.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B31E77
RGBrgb(179, 30, 119)
HSLhsl(324, 71%, 41%)
HSVhsv(324, 83%, 70%)
CMYKcmyk(0%, 83.2%, 33.5%, 29.8%)
CIE-LABlab(40.97, 63.21, -12.66)
CIE-LCHlch(40.97, 64.47, 348.68°)
OKLaboklab(51.73% 0.194 -0.033)
OKLCHoklch(51.73% 0.197 350.3)
XYZxyz(22.3858, 11.8469, 18.5570)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E77 #1EB35A
analogous
#A41EB3 #B31E77 #B31E2C
triadic
#B31E77 #77B31E #1E77B3
tetradic
#B31E77 #B3A41E #1EB35A #1E2CB3
square
#B31E77 #B3A41E #1EB35A #1E2CB3
split-complementary
#B31E77 #2CB31E #1EB3A4
monochromatic
#4A0C31 #7F1554 #B31E77 #DD3298 #E566B2

Accessibility & contrast

On white

6.23
#B31E77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B31E77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E77
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E77#FFFFFF#000000##FFFFFF
##B31E771.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5079
Deuteranopia (green-blind)
#676A74
Tritanopia (blue-blind)
#C10D49
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b31e77;
/* rgb */ color: rgb(179, 30, 119);
/* oklch */ color: oklch(51.7% 0.197 350.3);
Tailwind
colors: {
  custom: {
    50: '#cf6d9e',
    500: '#b31e77',
    950: '#000000',
  },
}
SCSS
$custom: #b31e77;
$custom-light: #cf6d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e77",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 119
  },
  "hsl": {
    "h": 324.161,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51726,
    "c": 0.19675,
    "h": 350.3
  },
  "luminance": 0.11844
}

Semantic roles & 50–950 ramp

primary
#B31E77
secondary
#62CB8C
accent
#EE823A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080E
muted
#837B7E

Preview Lab

Preview with #B31E77

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

Preview Lab → · Contrast checker → · Palette generator →

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