#B31E56#B31E56

#B31E56 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.185 H 5.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#B31E56
RGBrgb(179, 30, 86)
HSLhsl(337, 71%, 41%)
HSVhsv(337, 83%, 70%)
CMYKcmyk(0%, 83.2%, 52%, 29.8%)
CIE-LABlab(39.89, 60.08, 6.53)
CIE-LCHlch(39.89, 60.43, 6.20°)
OKLaboklab(50.59% 0.1838 0.0171)
OKLCHoklch(50.59% 0.185 5.3)
XYZxyz(20.7363, 11.1871, 9.8697)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E56 #1EB37B
analogous
#B31EA0 #B31E56 #B3311E
triadic
#B31E56 #56B31E #1E56B3
tetradic
#B31E56 #A0B31E #1EB37B #311EB3
square
#B31E56 #A0B31E #1EB37B #311EB3
split-complementary
#B31E56 #1EB331 #1EA0B3
monochromatic
#4A0C24 #7F153D #B31E56 #DD3272 #E56696

Accessibility & contrast

On white

6.49
#B31E56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B31E56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E56
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E56#FFFFFF#000000##FFFFFF
##B31E561.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474B57
Deuteranopia (green-blind)
#6E6852
Tritanopia (blue-blind)
#C30038
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31e56;
/* rgb */ color: rgb(179, 30, 86);
/* oklch */ color: oklch(50.6% 0.185 5.3);
Tailwind
colors: {
  custom: {
    50: '#d06c85',
    500: '#b31e56',
    950: '#000000',
  },
}
SCSS
$custom: #b31e56;
$custom-light: #d06c85;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e56",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 337.45,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50588,
    "c": 0.18463,
    "h": 5.3
  },
  "luminance": 0.11184
}

Semantic roles & 50–950 ramp

primary
#B31E56
secondary
#62CBA3
accent
#EEAA3A
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B31E56

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

Preview Lab → · Contrast checker → · Palette generator →

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