#B31A93#B31A93

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

Color values

HEX#B31A93
RGBrgb(179, 26, 147)
HSLhsl(313, 75%, 40%)
HSVhsv(313, 85%, 70%)
CMYKcmyk(0%, 85.5%, 17.9%, 29.8%)
CIE-LABlab(41.89, 67.48, -28.45)
CIE-LCHlch(41.89, 73.23, 337.14°)
OKLaboklab(52.79% 0.2012 -0.0772)
OKLCHoklch(52.79% 0.215 339)
XYZxyz(24.2270, 12.4316, 28.7218)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A93 #1AB33A
analogous
#861AB3 #B31A93 #B31A46
triadic
#B31A93 #93B31A #1A93B3
tetradic
#B31A93 #B3861A #1AB33A #1A46B3
square
#B31A93 #B3861A #1AB33A #1A46B3
split-complementary
#B31A93 #46B31A #1AB386
monochromatic
#480A3B #7E1267 #B31A93 #E02ABA #E860CB

Accessibility & contrast

On white

6.02
#B31A93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B31A93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31A93
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A93#FFFFFF#000000##FFFFFF
##B31A931.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265496
Deuteranopia (green-blind)
#5C6B90
Tritanopia (blue-blind)
#BE2458
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b31a93;
/* rgb */ color: rgb(179, 26, 147);
/* oklch */ color: oklch(52.8% 0.215 339.0);
Tailwind
colors: {
  custom: {
    50: '#ce6db3',
    500: '#b31a93',
    950: '#000000',
  },
}
SCSS
$custom: #b31a93;
$custom-light: #ce6db3;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a93",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 312.549,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.21546,
    "h": 339
  },
  "luminance": 0.12429
}

Semantic roles & 50–950 ramp

primary
#B31A93
secondary
#5DCC74
accent
#F15E37
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B31A93

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

Preview Lab → · Contrast checker → · Palette generator →

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