#831D5C#831D5C

#831D5C is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.2% C 0.150 H 347.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#831D5C
RGBrgb(131, 29, 92)
HSLhsl(323, 64%, 31%)
HSVhsv(323, 78%, 51%)
CMYKcmyk(0%, 77.9%, 29.8%, 48.6%)
CIE-LABlab(30.59, 48.14, -12.13)
CIE-LCHlch(30.59, 49.64, 345.86°)
OKLaboklab(42.15% 0.1467 -0.032)
OKLCHoklch(42.15% 0.15 347.7)
XYZxyz(11.7318, 6.4781, 10.7557)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D5C #1D8344
analogous
#771D83 #831D5C #831D29
triadic
#831D5C #5C831D #1D5C83
tetradic
#831D5C #83771D #1D8344 #1D2983
square
#831D5C #83771D #1D8344 #1D2983
split-complementary
#831D5C #29831D #1D8377
monochromatic
#1F0716 #511239 #831D5C #B5287F #D6459E

Accessibility & contrast

On white

9.15
#831D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#831D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831D5C
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D5C#FFFFFF#000000##FFFFFF
##831D5C1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3D5E
Deuteranopia (green-blind)
#4B4E5A
Tritanopia (blue-blind)
#8D193A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831d5c;
/* rgb */ color: rgb(131, 29, 92);
/* oklch */ color: oklch(42.2% 0.150 347.7);
Tailwind
colors: {
  custom: {
    50: '#ab648a',
    500: '#831d5c',
    950: '#000000',
  },
}
SCSS
$custom: #831d5c;
$custom-light: #ab648a;
$custom-dark: #000000;
JSON
{
  "hex": "#831d5c",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 92
  },
  "hsl": {
    "h": 322.941,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42151,
    "c": 0.15012,
    "h": 347.7
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#831D5C
secondary
#46B671
accent
#E78041
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #831D5C

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

Preview Lab → · Contrast checker → · Palette generator →

#831D5C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva