#B31E54#B31E54

#B31E54 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.184 H 6.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B31E54
RGBrgb(179, 30, 84)
HSLhsl(338, 71%, 41%)
HSVhsv(338, 83%, 70%)
CMYKcmyk(0%, 83.2%, 53.1%, 29.8%)
CIE-LABlab(39.84, 59.92, 7.72)
CIE-LCHlch(39.84, 60.42, 7.34°)
OKLaboklab(50.53% 0.1831 0.02)
OKLCHoklch(50.53% 0.184 6.2)
XYZxyz(20.6569, 11.1553, 9.4513)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E54 #1EB37D
analogous
#B31E9E #B31E54 #B3321E
triadic
#B31E54 #54B31E #1E54B3
tetradic
#B31E54 #9EB31E #1EB37D #321EB3
square
#B31E54 #9EB31E #1EB37D #321EB3
split-complementary
#B31E54 #1EB332 #1E9EB3
monochromatic
#4A0C23 #7F153B #B31E54 #DD3270 #E56694

Accessibility & contrast

On white

6.50
#B31E54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B31E54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E54
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E54#FFFFFF#000000##FFFFFF
##B31E541.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484B55
Deuteranopia (green-blind)
#6E6850
Tritanopia (blue-blind)
#C40037
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31e54;
/* rgb */ color: rgb(179, 30, 84);
/* oklch */ color: oklch(50.5% 0.184 6.2);
Tailwind
colors: {
  custom: {
    50: '#d06c83',
    500: '#b31e54',
    950: '#000000',
  },
}
SCSS
$custom: #b31e54;
$custom-light: #d06c83;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e54",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 338.255,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50532,
    "c": 0.18419,
    "h": 6.2
  },
  "luminance": 0.11152
}

Semantic roles & 50–950 ramp

primary
#B31E54
secondary
#62CBA5
accent
#EEAD3A
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B31E54

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

Preview Lab → · Contrast checker → · Palette generator →

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