#B31E5C#B31E5C

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

Color values

HEX#B31E5C
RGBrgb(179, 30, 92)
HSLhsl(335, 71%, 41%)
HSVhsv(335, 83%, 70%)
CMYKcmyk(0%, 83.2%, 48.6%, 29.8%)
CIE-LABlab(40.06, 60.57, 2.96)
CIE-LCHlch(40.06, 60.64, 2.79°)
OKLaboklab(50.77% 0.186 0.0082)
OKLCHoklch(50.77% 0.186 2.5)
XYZxyz(20.9883, 11.2879, 11.1967)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E5C #1EB375
analogous
#B31EA6 #B31E5C #B32B1E
triadic
#B31E5C #5CB31E #1E5CB3
tetradic
#B31E5C #A6B31E #1EB375 #2B1EB3
square
#B31E5C #A6B31E #1EB375 #2B1EB3
split-complementary
#B31E5C #1EB32B #1EA6B3
monochromatic
#4A0C26 #7F1541 #B31E5C #DD3279 #E5669B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31E5C#FFFFFF#000000##FFFFFF
##B31E5C1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5D
Deuteranopia (green-blind)
#6D6959
Tritanopia (blue-blind)
#C3003B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31e5c;
/* rgb */ color: rgb(179, 30, 92);
/* oklch */ color: oklch(50.8% 0.186 2.5);
Tailwind
colors: {
  custom: {
    50: '#d06c89',
    500: '#b31e5c',
    950: '#000000',
  },
}
SCSS
$custom: #b31e5c;
$custom-light: #d06c89;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e5c",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 92
  },
  "hsl": {
    "h": 335.034,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50765,
    "c": 0.18617,
    "h": 2.5
  },
  "luminance": 0.11285
}

Semantic roles & 50–950 ramp

primary
#B31E5C
secondary
#62CB9F
accent
#EEA33A
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B31E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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