#B31962#B31962

#B31962 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.192 H 359.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B31962
RGBrgb(179, 25, 98)
HSLhsl(332, 75%, 40%)
HSVhsv(332, 86%, 70%)
CMYKcmyk(0%, 86%, 45.3%, 29.8%)
CIE-LABlab(39.85, 62.21, -1.15)
CIE-LCHlch(39.85, 62.22, 358.95°)
OKLaboklab(50.67% 0.1916 -0.0023)
OKLCHoklch(50.67% 0.192 359.3)
XYZxyz(21.1444, 11.1637, 12.5943)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31962 #19B36A
analogous
#B319AF #B31962 #B31D19
triadic
#B31962 #62B319 #1962B3
tetradic
#B31962 #AFB319 #19B36A #1D19B3
square
#B31962 #AFB319 #19B36A #1D19B3
split-complementary
#B31962 #19B31D #19AFB3
monochromatic
#480A27 #7D1245 #B31962 #E12880 #E85EA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31962#FFFFFF#000000##FFFFFF
##B319621.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)
#424C64
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#C3003D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b31962;
/* rgb */ color: rgb(179, 25, 98);
/* oklch */ color: oklch(50.7% 0.192 359.3);
Tailwind
colors: {
  custom: {
    50: '#d06b8e',
    500: '#b31962',
    950: '#000000',
  },
}
SCSS
$custom: #b31962;
$custom-light: #d06b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#b31962",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 98
  },
  "hsl": {
    "h": 331.558,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.50674,
    "c": 0.19161,
    "h": 359.3
  },
  "luminance": 0.11161
}

Semantic roles & 50–950 ramp

primary
#B31962
secondary
#5BCC97
accent
#F29936
background
#FDF6F8
surface
#FBECF0
border
#D4C7CB
text
#15080C
muted
#837A7D

Preview Lab

Preview with #B31962

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

Preview Lab → · Contrast checker → · Palette generator →

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