#B31E5D#B31E5D

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

Color values

HEX#B31E5D
RGBrgb(179, 30, 93)
HSLhsl(335, 71%, 41%)
HSVhsv(335, 83%, 70%)
CMYKcmyk(0%, 83.2%, 48%, 29.8%)
CIE-LABlab(40.09, 60.66, 2.37)
CIE-LCHlch(40.09, 60.70, 2.23°)
OKLaboklab(50.8% 0.1863 0.0067)
OKLCHoklch(50.8% 0.186 2.1)
XYZxyz(21.0323, 11.3055, 11.4285)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E5D #1EB374
analogous
#B31EA7 #B31E5D #B3291E
triadic
#B31E5D #5DB31E #1E5DB3
tetradic
#B31E5D #A7B31E #1EB374 #291EB3
square
#B31E5D #A7B31E #1EB374 #291EB3
split-complementary
#B31E5D #1EB329 #1EA7B3
monochromatic
#4A0C27 #7F1542 #B31E5D #DD327A #E5669C

Accessibility & contrast

On white

6.44
#B31E5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#B31E5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E5D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E5D#FFFFFF#000000##FFFFFF
##B31E5D1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C5E
Deuteranopia (green-blind)
#6D695A
Tritanopia (blue-blind)
#C3003B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31e5d;
/* rgb */ color: rgb(179, 30, 93);
/* oklch */ color: oklch(50.8% 0.186 2.1);
Tailwind
colors: {
  custom: {
    50: '#d06c8a',
    500: '#b31e5d',
    950: '#000000',
  },
}
SCSS
$custom: #b31e5d;
$custom-light: #d06c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e5d",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 93
  },
  "hsl": {
    "h": 334.631,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50796,
    "c": 0.18645,
    "h": 2.1
  },
  "luminance": 0.11303
}

Semantic roles & 50–950 ramp

primary
#B31E5D
secondary
#62CB9E
accent
#EEA23A
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B31E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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