#B31D70#B31D70

#B31D70 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.4% C 0.194 H 353.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B31D70
RGBrgb(179, 29, 112)
HSLhsl(327, 72%, 41%)
HSVhsv(327, 84%, 70%)
CMYKcmyk(0%, 83.8%, 37.4%, 29.8%)
CIE-LABlab(40.63, 62.69, -8.81)
CIE-LCHlch(40.63, 63.31, 352.00°)
OKLaboklab(51.39% 0.1929 -0.0225)
OKLCHoklch(51.39% 0.194 353.3)
XYZxyz(21.9559, 11.6351, 16.4157)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D70 #1DB360
analogous
#AB1DB3 #B31D70 #B31D25
triadic
#B31D70 #70B31D #1D70B3
tetradic
#B31D70 #B3AB1D #1DB360 #1D25B3
square
#B31D70 #B3AB1D #1DB360 #1D25B3
split-complementary
#B31D70 #25B31D #1DB3AB
monochromatic
#4A0C2E #7E144F #B31D70 #DD3090 #E664AC

Accessibility & contrast

On white

6.31
#B31D70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B31D70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D70
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D70#FFFFFF#000000##FFFFFF
##B31D701.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F72
Deuteranopia (green-blind)
#68696D
Tritanopia (blue-blind)
#C10045
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b31d70;
/* rgb */ color: rgb(179, 29, 112);
/* oklch */ color: oklch(51.4% 0.194 353.3);
Tailwind
colors: {
  custom: {
    50: '#cf6d99',
    500: '#b31d70',
    950: '#000000',
  },
}
SCSS
$custom: #b31d70;
$custom-light: #cf6d99;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d70",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 112
  },
  "hsl": {
    "h": 326.8,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51393,
    "c": 0.19425,
    "h": 353.3
  },
  "luminance": 0.11632
}

Semantic roles & 50–950 ramp

primary
#B31D70
secondary
#61CB90
accent
#EF8A39
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#15080D
muted
#837B7E

Preview Lab

Preview with #B31D70

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

Preview Lab → · Contrast checker → · Palette generator →

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