#B31F59#B31F59

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

Color values

HEX#B31F59
RGBrgb(179, 31, 89)
HSLhsl(336, 70%, 41%)
HSVhsv(336, 83%, 70%)
CMYKcmyk(0%, 82.7%, 50.3%, 29.8%)
CIE-LABlab(40.06, 60.08, 4.86)
CIE-LCHlch(40.06, 60.27, 4.62°)
OKLaboklab(50.74% 0.1841 0.013)
OKLCHoklch(50.74% 0.185 4)
XYZxyz(20.8854, 11.2879, 10.5283)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31F59 #1FB379
analogous
#B31FA3 #B31F59 #B32F1F
triadic
#B31F59 #59B31F #1F59B3
tetradic
#B31F59 #A3B31F #1FB379 #2F1FB3
square
#B31F59 #A3B31F #1FB379 #2F1FB3
split-complementary
#B31F59 #1FB32F #1FA3B3
monochromatic
#4B0D25 #7F163F #B31F59 #DC3375 #E56899

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31F59#FFFFFF#000000##FFFFFF
##B31F591.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)
#474C5A
Deuteranopia (green-blind)
#6E6956
Tritanopia (blue-blind)
#C3003A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31f59;
/* rgb */ color: rgb(179, 31, 89);
/* oklch */ color: oklch(50.7% 0.185 4.0);
Tailwind
colors: {
  custom: {
    50: '#d06c87',
    500: '#b31f59',
    950: '#000000',
  },
}
SCSS
$custom: #b31f59;
$custom-light: #d06c87;
$custom-dark: #000000;
JSON
{
  "hex": "#b31f59",
  "rgb": {
    "r": 179,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 336.486,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50737,
    "c": 0.1846,
    "h": 4
  },
  "luminance": 0.11285
}

Semantic roles & 50–950 ramp

primary
#B31F59
secondary
#64CAA2
accent
#EDA73B
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B31F59

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

Preview Lab → · Contrast checker → · Palette generator →

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