#B31D64#B31D64

#B31D64 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.189 H 358.7°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B31D64
RGBrgb(179, 29, 100)
HSLhsl(332, 72%, 41%)
HSVhsv(332, 84%, 70%)
CMYKcmyk(0%, 83.8%, 44.1%, 29.8%)
CIE-LABlab(40.22, 61.52, -1.87)
CIE-LCHlch(40.22, 61.55, 358.26°)
OKLaboklab(50.96% 0.1894 -0.0042)
OKLCHoklch(50.96% 0.189 358.7)
XYZxyz(21.3317, 11.3854, 13.1284)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31D64 #1DB36C
analogous
#B31DAF #B31D64 #B3211D
triadic
#B31D64 #64B31D #1D64B3
tetradic
#B31D64 #AFB31D #1DB36C #211DB3
square
#B31D64 #AFB31D #1DB36C #211DB3
split-complementary
#B31D64 #1DB321 #1DAFB3
monochromatic
#4A0C29 #7E1447 #B31D64 #DD3082 #E664A2

Accessibility & contrast

On white

6.41
#B31D64 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#B31D64 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31D64
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31D64#FFFFFF#000000##FFFFFF
##B31D641.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434D66
Deuteranopia (green-blind)
#6B6961
Tritanopia (blue-blind)
#C2003F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #b31d64;
/* rgb */ color: rgb(179, 29, 100);
/* oklch */ color: oklch(51.0% 0.189 358.7);
Tailwind
colors: {
  custom: {
    50: '#d06c90',
    500: '#b31d64',
    950: '#000000',
  },
}
SCSS
$custom: #b31d64;
$custom-light: #d06c90;
$custom-dark: #000000;
JSON
{
  "hex": "#b31d64",
  "rgb": {
    "r": 179,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 331.6,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50962,
    "c": 0.18947,
    "h": 358.7
  },
  "luminance": 0.11383
}

Semantic roles & 50–950 ramp

primary
#B31D64
secondary
#61CB99
accent
#EF9939
background
#FDF7F8
surface
#FBEDF0
border
#D4C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B31D64

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

Preview Lab → · Contrast checker → · Palette generator →

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