#B31D59#B31D59

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

Color values

HEX#B31D59
RGBrgb(179, 29, 89)
HSLhsl(336, 72%, 41%)
HSVhsv(336, 84%, 70%)
CMYKcmyk(0%, 83.8%, 50.3%, 29.8%)
CIE-LABlab(39.89, 60.56, 4.62)
CIE-LCHlch(39.89, 60.73, 4.36°)
OKLaboklab(50.61% 0.1857 0.0124)
OKLCHoklch(50.61% 0.186 3.8)
XYZxyz(20.8348, 11.1867, 10.5114)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D59 #1DB377
analogous
#B31DA4 #B31D59 #B32C1D
triadic
#B31D59 #59B31D #1D59B3
tetradic
#B31D59 #A4B31D #1DB377 #2C1DB3
square
#B31D59 #A4B31D #1DB377 #2C1DB3
split-complementary
#B31D59 #1DB32C #1DA4B3
monochromatic
#4A0C25 #7E143F #B31D59 #DD3075 #E66498

Accessibility & contrast

On white

6.49
#B31D59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B31D59
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D59#FFFFFF#000000##FFFFFF
##B31D591.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464B5A
Deuteranopia (green-blind)
#6D6856
Tritanopia (blue-blind)
#C30039
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31d59;
/* rgb */ color: rgb(179, 29, 89);
/* oklch */ color: oklch(50.6% 0.186 3.8);
Tailwind
colors: {
  custom: {
    50: '#d06c87',
    500: '#b31d59',
    950: '#000000',
  },
}
SCSS
$custom: #b31d59;
$custom-light: #d06c87;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d59",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 89
  },
  "hsl": {
    "h": 336,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.1861,
    "h": 3.8
  },
  "luminance": 0.11184
}

Semantic roles & 50–950 ramp

primary
#B31D59
secondary
#61CBA1
accent
#EFA639
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B31D59

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

Preview Lab → · Contrast checker → · Palette generator →

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