#B31A92#B31A92

#B31A92 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.04:1 contrast (WCAG AA passes).

Color values

HEX#B31A92
RGBrgb(179, 26, 146)
HSLhsl(313, 75%, 40%)
HSVhsv(313, 85%, 70%)
CMYKcmyk(0%, 85.5%, 18.4%, 29.8%)
CIE-LABlab(41.85, 67.35, -27.92)
CIE-LCHlch(41.85, 72.90, 337.48°)
OKLaboklab(52.74% 0.2011 -0.0757)
OKLCHoklch(52.74% 0.215 339.4)
XYZxyz(24.1488, 12.4003, 28.3103)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A92 #1AB33B
analogous
#871AB3 #B31A92 #B31A46
triadic
#B31A92 #92B31A #1A92B3
tetradic
#B31A92 #B3871A #1AB33B #1A46B3
square
#B31A92 #B3871A #1AB33B #1A46B3
split-complementary
#B31A92 #46B31A #1AB387
monochromatic
#480A3B #7E1266 #B31A92 #E02AB9 #E860CA

Accessibility & contrast

On white

6.04
#B31A92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B31A92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31A92
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A92#FFFFFF#000000##FFFFFF
##B31A921.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31a92;
/* rgb */ color: rgb(179, 26, 146);
/* oklch */ color: oklch(52.7% 0.215 339.4);
Tailwind
colors: {
  custom: {
    50: '#ce6db2',
    500: '#b31a92',
    950: '#000000',
  },
}
SCSS
$custom: #b31a92;
$custom-light: #ce6db2;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a92",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 146
  },
  "hsl": {
    "h": 312.941,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52738,
    "c": 0.21484,
    "h": 339.4
  },
  "luminance": 0.12398
}

Semantic roles & 50–950 ramp

primary
#B31A92
secondary
#5DCC75
accent
#F15F37
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B31A92

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

Preview Lab → · Contrast checker → · Palette generator →

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