#B31E76#B31E76

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

Color values

HEX#B31E76
RGBrgb(179, 30, 118)
HSLhsl(325, 71%, 41%)
HSVhsv(325, 83%, 70%)
CMYKcmyk(0%, 83.2%, 34.1%, 29.8%)
CIE-LABlab(40.93, 63.10, -12.10)
CIE-LCHlch(40.93, 64.25, 349.15°)
OKLaboklab(51.69% 0.1937 -0.0314)
OKLCHoklch(51.69% 0.196 350.8)
XYZxyz(22.3261, 11.8230, 18.2424)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E76 #1EB35B
analogous
#A51EB3 #B31E76 #B31E2B
triadic
#B31E76 #76B31E #1E76B3
tetradic
#B31E76 #B3A51E #1EB35B #1E2BB3
square
#B31E76 #B3A51E #1EB35B #1E2BB3
split-complementary
#B31E76 #2BB31E #1EB3A5
monochromatic
#4A0C31 #7F1553 #B31E76 #DD3297 #E566B1

Accessibility & contrast

On white

6.24
#B31E76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B31E76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E76
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E76#FFFFFF#000000##FFFFFF
##B31E761.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5078
Deuteranopia (green-blind)
#676A73
Tritanopia (blue-blind)
#C10B49
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b31e76;
/* rgb */ color: rgb(179, 30, 118);
/* oklch */ color: oklch(51.7% 0.196 350.8);
Tailwind
colors: {
  custom: {
    50: '#cf6d9d',
    500: '#b31e76',
    950: '#000000',
  },
}
SCSS
$custom: #b31e76;
$custom-light: #cf6d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e76",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 324.564,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51686,
    "c": 0.19626,
    "h": 350.8
  },
  "luminance": 0.1182
}

Semantic roles & 50–950 ramp

primary
#B31E76
secondary
#62CB8D
accent
#EE843A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080E
muted
#837B7E

Preview Lab

Preview with #B31E76

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

Preview Lab → · Contrast checker → · Palette generator →

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