#B31D61#B31D61

#B31D61 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.188 H 0.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B31D61
RGBrgb(179, 29, 97)
HSLhsl(333, 72%, 41%)
HSVhsv(333, 84%, 70%)
CMYKcmyk(0%, 83.8%, 45.8%, 29.8%)
CIE-LABlab(40.13, 61.24, -0.11)
CIE-LCHlch(40.13, 61.24, 359.89°)
OKLaboklab(50.86% 0.1885 0.0004)
OKLCHoklch(50.86% 0.188 0.1)
XYZxyz(21.1892, 11.3284, 12.3778)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D61 #1DB36F
analogous
#B31DAC #B31D61 #B3241D
triadic
#B31D61 #61B31D #1D61B3
tetradic
#B31D61 #ACB31D #1DB36F #241DB3
square
#B31D61 #ACB31D #1DB36F #241DB3
split-complementary
#B31D61 #1DB324 #1DACB3
monochromatic
#4A0C28 #7E1444 #B31D61 #DD307E #E6649F

Accessibility & contrast

On white

6.43
#B31D61 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#B31D61 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D61
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D61#FFFFFF#000000##FFFFFF
##B31D611.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C62
Deuteranopia (green-blind)
#6C695E
Tritanopia (blue-blind)
#C3003D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31d61;
/* rgb */ color: rgb(179, 29, 97);
/* oklch */ color: oklch(50.9% 0.188 0.1);
Tailwind
colors: {
  custom: {
    50: '#d06c8d',
    500: '#b31d61',
    950: '#000000',
  },
}
SCSS
$custom: #b31d61;
$custom-light: #d06c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d61",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 97
  },
  "hsl": {
    "h": 332.8,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50863,
    "c": 0.18845,
    "h": 0.1
  },
  "luminance": 0.11326
}

Semantic roles & 50–950 ramp

primary
#B31D61
secondary
#61CB9B
accent
#EF9C39
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31D61

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

Preview Lab → · Contrast checker → · Palette generator →

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