#831871#831871

#831871 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.8% C 0.169 H 336.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#831871
RGBrgb(131, 24, 113)
HSLhsl(310, 69%, 30%)
HSVhsv(310, 82%, 51%)
CMYKcmyk(0%, 81.7%, 13.7%, 48.6%)
CIE-LABlab(31.05, 52.61, -24.95)
CIE-LCHlch(31.05, 58.22, 334.63°)
OKLaboklab(42.81% 0.1546 -0.0681)
OKLCHoklch(42.81% 0.169 336.2)
XYZxyz(12.6676, 6.6720, 16.2403)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831871 #18832A
analogous
#5F1883 #831871 #83183C
triadic
#831871 #718318 #187183
tetradic
#831871 #835F18 #18832A #183C83
square
#831871 #835F18 #18832A #183C83
split-complementary
#831871 #3C8318 #18835F
monochromatic
#1C0518 #4F0F44 #831871 #B7219E #DB3AC0

Accessibility & contrast

On white

9.00
#831871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#831871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831871
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831871#FFFFFF#000000##FFFFFF
##8318711.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3F73
Deuteranopia (green-blind)
#414F6F
Tritanopia (blue-blind)
#8A2144
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831871;
/* rgb */ color: rgb(131, 24, 113);
/* oklch */ color: oklch(42.8% 0.169 336.2);
Tailwind
colors: {
  custom: {
    50: '#ab639a',
    500: '#831871',
    950: '#000000',
  },
}
SCSS
$custom: #831871;
$custom-light: #ab639a;
$custom-dark: #000000;
JSON
{
  "hex": "#831871",
  "rgb": {
    "r": 131,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 310.093,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42808,
    "c": 0.16897,
    "h": 336.2
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#831871
secondary
#40B754
accent
#EC5A3C
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #831871

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

Preview Lab → · Contrast checker → · Palette generator →

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