#B31952#B31952

#B31952 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.187 H 6.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B31952
RGBrgb(179, 25, 82)
HSLhsl(338, 75%, 40%)
HSVhsv(338, 86%, 70%)
CMYKcmyk(0%, 86%, 54.2%, 29.8%)
CIE-LABlab(39.40, 60.89, 8.37)
CIE-LCHlch(39.40, 61.47, 7.83°)
OKLaboklab(50.19% 0.186 0.0216)
OKLCHoklch(50.19% 0.187 6.6)
XYZxyz(20.4630, 10.8912, 9.0057)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31952 #19B37A
analogous
#B3199F #B31952 #B32D19
triadic
#B31952 #52B319 #1952B3
tetradic
#B31952 #9FB319 #19B37A #2D19B3
square
#B31952 #9FB319 #19B37A #2D19B3
split-complementary
#B31952 #19B32D #199FB3
monochromatic
#480A21 #7D1239 #B31952 #E1286D #E85E91

Accessibility & contrast

On white

6.61
#B31952 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#B31952 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31952
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31952#FFFFFF#000000##FFFFFF
##B319521.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464A53
Deuteranopia (green-blind)
#6E674E
Tritanopia (blue-blind)
#C40034
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #b31952;
/* rgb */ color: rgb(179, 25, 82);
/* oklch */ color: oklch(50.2% 0.187 6.6);
Tailwind
colors: {
  custom: {
    50: '#d16a82',
    500: '#b31952',
    950: '#000000',
  },
}
SCSS
$custom: #b31952;
$custom-light: #d16a82;
$custom-dark: #000000;
JSON
{
  "hex": "#b31952",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 82
  },
  "hsl": {
    "h": 337.792,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.50189,
    "c": 0.18725,
    "h": 6.6
  },
  "luminance": 0.10888
}

Semantic roles & 50–950 ramp

primary
#B31952
secondary
#5BCCA3
accent
#F2AC36
background
#FDF6F7
surface
#FBECEE
border
#D4C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #B31952

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

Preview Lab → · Contrast checker → · Palette generator →

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