#B31E79#B31E79

#B31E79 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.8% C 0.198 H 349.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B31E79
RGBrgb(179, 30, 121)
HSLhsl(323, 71%, 41%)
HSVhsv(323, 83%, 70%)
CMYKcmyk(0%, 83.2%, 32.4%, 29.8%)
CIE-LABlab(41.05, 63.43, -13.78)
CIE-LCHlch(41.05, 64.91, 347.74°)
OKLaboklab(51.81% 0.1944 -0.0361)
OKLCHoklch(51.81% 0.198 349.5)
XYZxyz(22.5072, 11.8955, 19.1963)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E79 #1EB358
analogous
#A21EB3 #B31E79 #B31E2E
triadic
#B31E79 #79B31E #1E79B3
tetradic
#B31E79 #B3A21E #1EB358 #1E2EB3
square
#B31E79 #B3A21E #1EB358 #1E2EB3
split-complementary
#B31E79 #2EB31E #1EB3A2
monochromatic
#4A0C32 #7F1556 #B31E79 #DD329A #E566B4

Accessibility & contrast

On white

6.22
#B31E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#B31E79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E79
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E79#FFFFFF#000000##FFFFFF
##B31E791.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B507B
Deuteranopia (green-blind)
#666A76
Tritanopia (blue-blind)
#C10F4A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b31e79;
/* rgb */ color: rgb(179, 30, 121);
/* oklch */ color: oklch(51.8% 0.198 349.5);
Tailwind
colors: {
  custom: {
    50: '#cf6d9f',
    500: '#b31e79',
    950: '#000000',
  },
}
SCSS
$custom: #b31e79;
$custom-light: #cf6d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e79",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 323.356,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51808,
    "c": 0.19774,
    "h": 349.5
  },
  "luminance": 0.11893
}

Semantic roles & 50–950 ramp

primary
#B31E79
secondary
#62CB8B
accent
#EE803A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080E
muted
#837B7E

Preview Lab

Preview with #B31E79

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

Preview Lab → · Contrast checker → · Palette generator →

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