#B31961#B31961

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

Color values

HEX#B31961
RGBrgb(179, 25, 97)
HSLhsl(332, 75%, 40%)
HSVhsv(332, 86%, 70%)
CMYKcmyk(0%, 86%, 45.8%, 29.8%)
CIE-LABlab(39.82, 62.12, -0.56)
CIE-LCHlch(39.82, 62.12, 359.49°)
OKLaboklab(50.64% 0.1913 -0.0008)
OKLCHoklch(50.64% 0.191 359.8)
XYZxyz(21.0975, 11.1450, 12.3472)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31961 #19B36B
analogous
#B319AE #B31961 #B31E19
triadic
#B31961 #61B319 #1961B3
tetradic
#B31961 #AEB319 #19B36B #1E19B3
square
#B31961 #AEB319 #19B36B #1E19B3
split-complementary
#B31961 #19B31E #19AEB3
monochromatic
#480A27 #7D1244 #B31961 #E1287F #E85E9F

Accessibility & contrast

On white

6.50
#B31961 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#B31961 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31961
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31961#FFFFFF#000000##FFFFFF
##B319611.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.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: #b31961;
/* rgb */ color: rgb(179, 25, 97);
/* oklch */ color: oklch(50.6% 0.191 359.8);
Tailwind
colors: {
  custom: {
    50: '#d06b8d',
    500: '#b31961',
    950: '#000000',
  },
}
SCSS
$custom: #b31961;
$custom-light: #d06b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#b31961",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 97
  },
  "hsl": {
    "h": 331.948,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.50641,
    "c": 0.19127,
    "h": 359.8
  },
  "luminance": 0.11142
}

Semantic roles & 50–950 ramp

primary
#B31961
secondary
#5BCC98
accent
#F29A36
background
#FDF6F8
surface
#FBECF0
border
#D4C7CB
text
#15080C
muted
#837A7D

Preview Lab

Preview with #B31961

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

Preview Lab → · Contrast checker → · Palette generator →

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