#B31694#B31694

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

Color values

HEX#B31694
RGBrgb(179, 22, 148)
HSLhsl(312, 78%, 39%)
HSVhsv(312, 88%, 70%)
CMYKcmyk(0%, 87.7%, 17.3%, 29.8%)
CIE-LABlab(41.69, 68.36, -29.38)
CIE-LCHlch(41.69, 74.41, 336.74°)
OKLaboklab(52.66% 0.2035 -0.0798)
OKLCHoklch(52.66% 0.219 338.6)
XYZxyz(24.2233, 12.2982, 29.1093)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31694 #16B335
analogous
#8416B3 #B31694 #B31646
triadic
#B31694 #94B316 #1694B3
tetradic
#B31694 #B38416 #16B335 #1646B3
square
#B31694 #B38416 #16B335 #1646B3
split-complementary
#B31694 #46B316 #16B384
monochromatic
#46093A #7C0F67 #B31694 #E422BE #EB59CE

Accessibility & contrast

On white

6.07
#B31694 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B31694 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31694
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31694#FFFFFF#000000##FFFFFF
##B316941.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235397
Deuteranopia (green-blind)
#5B6B91
Tritanopia (blue-blind)
#BE2258
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b31694;
/* rgb */ color: rgb(179, 22, 148);
/* oklch */ color: oklch(52.7% 0.219 338.6);
Tailwind
colors: {
  custom: {
    50: '#ce6cb4',
    500: '#b31694',
    950: '#000000',
  },
}
SCSS
$custom: #b31694;
$custom-light: #ce6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#b31694",
  "rgb": {
    "r": 179,
    "g": 22,
    "b": 148
  },
  "hsl": {
    "h": 311.847,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52656,
    "c": 0.21861,
    "h": 338.6
  },
  "luminance": 0.12296
}

Semantic roles & 50–950 ramp

primary
#B31694
secondary
#57CE6E
accent
#F55933
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140811
muted
#837B80

Preview Lab

Preview with #B31694

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

Preview Lab → · Contrast checker → · Palette generator →

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