#B31992#B31992

#B31992 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.7% C 0.215 H 339.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B31992
RGBrgb(179, 25, 146)
HSLhsl(313, 75%, 40%)
HSVhsv(313, 86%, 70%)
CMYKcmyk(0%, 86%, 18.4%, 29.8%)
CIE-LABlab(41.78, 67.54, -28.02)
CIE-LCHlch(41.78, 73.13, 337.47°)
OKLaboklab(52.69% 0.2017 -0.076)
OKLCHoklch(52.69% 0.216 339.4)
XYZxyz(24.1271, 12.3568, 28.3030)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31992 #19B33A
analogous
#8719B3 #B31992 #B31945
triadic
#B31992 #92B319 #1992B3
tetradic
#B31992 #B38719 #19B33A #1945B3
square
#B31992 #B38719 #19B33A #1945B3
split-complementary
#B31992 #45B319 #19B387
monochromatic
#480A3A #7D1266 #B31992 #E128B9 #E85ECB

Accessibility & contrast

On white

6.05
#B31992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B31992 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31992
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31992#FFFFFF#000000##FFFFFF
##B319921.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275495
Deuteranopia (green-blind)
#5D6B8F
Tritanopia (blue-blind)
#BE2257
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b31992;
/* rgb */ color: rgb(179, 25, 146);
/* oklch */ color: oklch(52.7% 0.215 339.4);
Tailwind
colors: {
  custom: {
    50: '#ce6db2',
    500: '#b31992',
    950: '#000000',
  },
}
SCSS
$custom: #b31992;
$custom-light: #ce6db2;
$custom-dark: #000000;
JSON
{
  "hex": "#b31992",
  "rgb": {
    "r": 179,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 312.857,
    "s": 75.49,
    "l": 40
  },
  "oklch": {
    "l": 0.5269,
    "c": 0.2155,
    "h": 339.4
  },
  "luminance": 0.12354
}

Semantic roles & 50–950 ramp

primary
#B31992
secondary
#5BCC74
accent
#F25E36
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B31992

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

Preview Lab → · Contrast checker → · Palette generator →

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