#B31E5B#B31E5B

#B31E5B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.186 H 3.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B31E5B
RGBrgb(179, 30, 91)
HSLhsl(335, 71%, 41%)
HSVhsv(335, 83%, 70%)
CMYKcmyk(0%, 83.2%, 49.2%, 29.8%)
CIE-LABlab(40.03, 60.49, 3.55)
CIE-LCHlch(40.03, 60.59, 3.36°)
OKLaboklab(50.74% 0.1856 0.0097)
OKLCHoklch(50.74% 0.186 3)
XYZxyz(20.9449, 11.2705, 10.9680)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E5B #1EB376
analogous
#B31EA5 #B31E5B #B32B1E
triadic
#B31E5B #5BB31E #1E5BB3
tetradic
#B31E5B #A5B31E #1EB376 #2B1EB3
square
#B31E5B #A5B31E #1EB376 #2B1EB3
split-complementary
#B31E5B #1EB32B #1EA5B3
monochromatic
#4A0C26 #7F1540 #B31E5B #DD3278 #E5669A

Accessibility & contrast

On white

6.45
#B31E5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B31E5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E5B
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E5B#FFFFFF#000000##FFFFFF
##B31E5B1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5C
Deuteranopia (green-blind)
#6D6958
Tritanopia (blue-blind)
#C3003A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31e5b;
/* rgb */ color: rgb(179, 30, 91);
/* oklch */ color: oklch(50.7% 0.186 3.0);
Tailwind
colors: {
  custom: {
    50: '#d06c89',
    500: '#b31e5b',
    950: '#000000',
  },
}
SCSS
$custom: #b31e5b;
$custom-light: #d06c89;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e5b",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 91
  },
  "hsl": {
    "h": 335.436,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50735,
    "c": 0.18589,
    "h": 3
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#B31E5B
secondary
#62CBA0
accent
#EEA43A
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B31E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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