#B31F57#B31F57

#B31F57 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.184 H 5.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B31F57
RGBrgb(179, 31, 87)
HSLhsl(337, 70%, 41%)
HSVhsv(337, 83%, 70%)
CMYKcmyk(0%, 82.7%, 51.4%, 29.8%)
CIE-LABlab(40.01, 59.91, 6.05)
CIE-LCHlch(40.01, 60.22, 5.77°)
OKLaboklab(50.68% 0.1834 0.0159)
OKLCHoklch(50.68% 0.184 5)
XYZxyz(20.8026, 11.2548, 10.0920)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31F57 #1FB37B
analogous
#B31FA1 #B31F57 #B3311F
triadic
#B31F57 #57B31F #1F57B3
tetradic
#B31F57 #A1B31F #1FB37B #311FB3
square
#B31F57 #A1B31F #1FB37B #311FB3
split-complementary
#B31F57 #1FB331 #1FA1B3
monochromatic
#4B0D24 #7F163E #B31F57 #DC3373 #E56897

Accessibility & contrast

On white

6.46
#B31F57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B31F57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31F57
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31F57#FFFFFF#000000##FFFFFF
##B31F571.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474C58
Deuteranopia (green-blind)
#6E6954
Tritanopia (blue-blind)
#C30039
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31f57;
/* rgb */ color: rgb(179, 31, 87);
/* oklch */ color: oklch(50.7% 0.184 5.0);
Tailwind
colors: {
  custom: {
    50: '#d06c86',
    500: '#b31f57',
    950: '#000000',
  },
}
SCSS
$custom: #b31f57;
$custom-light: #d06c86;
$custom-dark: #000000;
JSON
{
  "hex": "#b31f57",
  "rgb": {
    "r": 179,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 337.297,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50679,
    "c": 0.1841,
    "h": 5
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#B31F57
secondary
#64CAA3
accent
#EDAA3B
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B31F57

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

Preview Lab → · Contrast checker → · Palette generator →

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