#B31A91#B31A91

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

Color values

HEX#B31A91
RGBrgb(179, 26, 145)
HSLhsl(313, 75%, 40%)
HSVhsv(313, 85%, 70%)
CMYKcmyk(0%, 85.5%, 19%, 29.8%)
CIE-LABlab(41.80, 67.22, -27.38)
CIE-LCHlch(41.80, 72.58, 337.83°)
OKLaboklab(52.69% 0.201 -0.0742)
OKLCHoklch(52.69% 0.214 339.7)
XYZxyz(24.0714, 12.3694, 27.9024)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A91 #1AB33C
analogous
#881AB3 #B31A91 #B31A45
triadic
#B31A91 #91B31A #1A91B3
tetradic
#B31A91 #B3881A #1AB33C #1A45B3
square
#B31A91 #B3881A #1AB33C #1A45B3
split-complementary
#B31A91 #45B31A #1AB388
monochromatic
#480A3A #7E1266 #B31A91 #E02AB8 #E860CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31A91#FFFFFF#000000##FFFFFF
##B31A911.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)
#285494
Deuteranopia (green-blind)
#5D6B8E
Tritanopia (blue-blind)
#BE2257
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b31a91;
/* rgb */ color: rgb(179, 26, 145);
/* oklch */ color: oklch(52.7% 0.214 339.7);
Tailwind
colors: {
  custom: {
    50: '#ce6db1',
    500: '#b31a91',
    950: '#000000',
  },
}
SCSS
$custom: #b31a91;
$custom-light: #ce6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a91",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 313.333,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52688,
    "c": 0.21422,
    "h": 339.7
  },
  "luminance": 0.12367
}

Semantic roles & 50–950 ramp

primary
#B31A91
secondary
#5DCC75
accent
#F16037
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140811
muted
#837B80

Preview Lab

Preview with #B31A91

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

Preview Lab → · Contrast checker → · Palette generator →

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