#B31E57#B31E57

#B31E57 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.185 H 4.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B31E57
RGBrgb(179, 30, 87)
HSLhsl(337, 71%, 41%)
HSVhsv(337, 83%, 70%)
CMYKcmyk(0%, 83.2%, 51.4%, 29.8%)
CIE-LABlab(39.92, 60.16, 5.93)
CIE-LCHlch(39.92, 60.45, 5.63°)
OKLaboklab(50.62% 0.1842 0.0156)
OKLCHoklch(50.62% 0.185 4.8)
XYZxyz(20.7769, 11.2034, 10.0834)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31E57 #1EB37A
analogous
#B31EA1 #B31E57 #B32F1E
triadic
#B31E57 #57B31E #1E57B3
tetradic
#B31E57 #A1B31E #1EB37A #2F1EB3
square
#B31E57 #A1B31E #1EB37A #2F1EB3
split-complementary
#B31E57 #1EB32F #1EA1B3
monochromatic
#4A0C24 #7F153E #B31E57 #DD3273 #E56697

Accessibility & contrast

On white

6.48
#B31E57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B31E57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31E57
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31E57#FFFFFF#000000##FFFFFF
##B31E571.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474B58
Deuteranopia (green-blind)
#6E6853
Tritanopia (blue-blind)
#C30038
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31e57;
/* rgb */ color: rgb(179, 30, 87);
/* oklch */ color: oklch(50.6% 0.185 4.8);
Tailwind
colors: {
  custom: {
    50: '#d06c86',
    500: '#b31e57',
    950: '#000000',
  },
}
SCSS
$custom: #b31e57;
$custom-light: #d06c86;
$custom-dark: #000000;
JSON
{
  "hex": "#b31e57",
  "rgb": {
    "r": 179,
    "g": 30,
    "b": 87
  },
  "hsl": {
    "h": 337.047,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50617,
    "c": 0.18486,
    "h": 4.8
  },
  "luminance": 0.112
}

Semantic roles & 50–950 ramp

primary
#B31E57
secondary
#62CBA3
accent
#EEA93A
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B31E57

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

Preview Lab → · Contrast checker → · Palette generator →

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