#B31861#B31861

#B31861 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.192 H 359.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#B31861
RGBrgb(179, 24, 97)
HSLhsl(332, 76%, 40%)
HSVhsv(332, 87%, 70%)
CMYKcmyk(0%, 86.6%, 45.8%, 29.8%)
CIE-LABlab(39.75, 62.32, -0.66)
CIE-LCHlch(39.75, 62.33, 359.39°)
OKLaboklab(50.59% 0.1919 -0.001)
OKLCHoklch(50.59% 0.192 359.7)
XYZxyz(21.0765, 11.1030, 12.3402)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31861 #18B36A
analogous
#B318AF #B31861 #B31C18
triadic
#B31861 #61B318 #1861B3
tetradic
#B31861 #AFB318 #18B36A #1C18B3
square
#B31861 #AFB318 #18B36A #1C18B3
split-complementary
#B31861 #18B31C #18AFB3
monochromatic
#470A27 #7D1144 #B31861 #E2267F #E95C9F

Accessibility & contrast

On white

6.52
#B31861 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#B31861 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31861
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31861#FFFFFF#000000##FFFFFF
##B318611.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424B63
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#C3003C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31861;
/* rgb */ color: rgb(179, 24, 97);
/* oklch */ color: oklch(50.6% 0.192 359.7);
Tailwind
colors: {
  custom: {
    50: '#d06b8d',
    500: '#b31861',
    950: '#000000',
  },
}
SCSS
$custom: #b31861;
$custom-light: #d06b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31861",
  "rgb": {
    "r": 179,
    "g": 24,
    "b": 97
  },
  "hsl": {
    "h": 331.742,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50589,
    "c": 0.19193,
    "h": 359.7
  },
  "luminance": 0.111
}

Semantic roles & 50–950 ramp

primary
#B31861
secondary
#5ACD97
accent
#F39935
background
#FDF6F8
surface
#FBECF0
border
#D4C7CB
text
#15080C
muted
#837A7D

Preview Lab

Preview with #B31861

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

Preview Lab → · Contrast checker → · Palette generator →

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