#B31E5E#B31E5E

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

Color values

HEX#B31E5E
RGBrgb(179, 30, 94)
HSLhsl(334, 71%, 41%)
HSVhsv(334, 83%, 70%)
CMYKcmyk(0%, 83.2%, 47.5%, 29.8%)
CIE-LABlab(40.12, 60.74, 1.77)
CIE-LCHlch(40.12, 60.77, 1.67°)
OKLaboklab(50.83% 0.1867 0.0052)
OKLCHoklch(50.83% 0.187 1.6)
XYZxyz(21.0769, 11.3233, 11.6633)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E5E #1EB373
analogous
#B31EA8 #B31E5E #B3281E
triadic
#B31E5E #5EB31E #1E5EB3
tetradic
#B31E5E #A8B31E #1EB373 #281EB3
square
#B31E5E #A8B31E #1EB373 #281EB3
split-complementary
#B31E5E #1EB328 #1EA8B3
monochromatic
#4A0C27 #7F1542 #B31E5E #DD327B #E5669D

Accessibility & contrast

On white

6.43
#B31E5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31E5E
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E5E#FFFFFF#000000##FFFFFF
##B31E5E1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C5F
Deuteranopia (green-blind)
#6C695B
Tritanopia (blue-blind)
#C3003C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31e5e;
/* rgb */ color: rgb(179, 30, 94);
/* oklch */ color: oklch(50.8% 0.187 1.6);
Tailwind
colors: {
  custom: {
    50: '#d06c8b',
    500: '#b31e5e',
    950: '#000000',
  },
}
SCSS
$custom: #b31e5e;
$custom-light: #d06c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e5e",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 94
  },
  "hsl": {
    "h": 334.228,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50827,
    "c": 0.18675,
    "h": 1.6
  },
  "luminance": 0.1132
}

Semantic roles & 50–950 ramp

primary
#B31E5E
secondary
#62CB9E
accent
#EEA13A
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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