#B31893#B31893

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

Color values

HEX#B31893
RGBrgb(179, 24, 147)
HSLhsl(312, 76%, 40%)
HSVhsv(312, 87%, 70%)
CMYKcmyk(0%, 86.6%, 17.9%, 29.8%)
CIE-LABlab(41.76, 67.87, -28.66)
CIE-LCHlch(41.76, 73.67, 337.11°)
OKLaboklab(52.69% 0.2023 -0.0778)
OKLCHoklch(52.69% 0.217 339)
XYZxyz(24.1842, 12.3461, 28.7075)
Luminance0.1234 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31893 #18B338
analogous
#8618B3 #B31893 #B31846
triadic
#B31893 #93B318 #1893B3
tetradic
#B31893 #B38618 #18B338 #1846B3
square
#B31893 #B38618 #18B338 #1846B3
split-complementary
#B31893 #46B318 #18B386
monochromatic
#470A3A #7D1167 #B31893 #E226BB #E95CCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B31893#FFFFFF#000000##FFFFFF
##B318931.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)
#255496
Deuteranopia (green-blind)
#5C6B90
Tritanopia (blue-blind)
#BE2258
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b31893;
/* rgb */ color: rgb(179, 24, 147);
/* oklch */ color: oklch(52.7% 0.217 339.0);
Tailwind
colors: {
  custom: {
    50: '#ce6db3',
    500: '#b31893',
    950: '#000000',
  },
}
SCSS
$custom: #b31893;
$custom-light: #ce6db3;
$custom-dark: #000000;
JSON
{
  "hex": "#b31893",
  "rgb": {
    "r": 179,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 312.387,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52694,
    "c": 0.21677,
    "h": 339
  },
  "luminance": 0.12344
}

Semantic roles & 50–950 ramp

primary
#B31893
secondary
#5ACD72
accent
#F35C35
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B31893

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

Preview Lab → · Contrast checker → · Palette generator →

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