#B31761#B31761

#B31761 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.193 H 359.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B31761
RGBrgb(179, 23, 97)
HSLhsl(332, 77%, 40%)
HSVhsv(332, 87%, 70%)
CMYKcmyk(0%, 87.2%, 45.8%, 29.8%)
CIE-LABlab(39.69, 62.52, -0.76)
CIE-LCHlch(39.69, 62.52, 359.30°)
OKLaboklab(50.54% 0.1926 -0.0013)
OKLCHoklch(50.54% 0.193 359.6)
XYZxyz(21.0562, 11.0625, 12.3335)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31761 #17B369
analogous
#B317AF #B31761 #B31B17
triadic
#B31761 #61B317 #1761B3
tetradic
#B31761 #AFB317 #17B369 #1B17B3
square
#B31761 #AFB317 #17B369 #1B17B3
split-complementary
#B31761 #17B31B #17AFB3
monochromatic
#470926 #7D1044 #B31761 #E3247F #EA5B9F

Accessibility & contrast

On white

6.54
#B31761 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#B31761 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31761
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31761#FFFFFF#000000##FFFFFF
##B317611.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414B63
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#C3003B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31761;
/* rgb */ color: rgb(179, 23, 97);
/* oklch */ color: oklch(50.5% 0.193 359.6);
Tailwind
colors: {
  custom: {
    50: '#d06a8d',
    500: '#b31761',
    950: '#000000',
  },
}
SCSS
$custom: #b31761;
$custom-light: #d06a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31761",
  "rgb": {
    "r": 179,
    "g": 23,
    "b": 97
  },
  "hsl": {
    "h": 331.538,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5054,
    "c": 0.19256,
    "h": 359.6
  },
  "luminance": 0.1106
}

Semantic roles & 50–950 ramp

primary
#B31761
secondary
#58CD96
accent
#F49934
background
#FDF6F8
surface
#FBECF0
border
#D4C7CB
text
#15080C
muted
#837A7D

Preview Lab

Preview with #B31761

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

Preview Lab → · Contrast checker → · Palette generator →

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