#831D5E#831D5E

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

Color values

HEX#831D5E
RGBrgb(131, 29, 94)
HSLhsl(322, 64%, 31%)
HSVhsv(322, 78%, 51%)
CMYKcmyk(0%, 77.9%, 28.2%, 48.6%)
CIE-LABlab(30.67, 48.40, -13.30)
CIE-LCHlch(30.67, 50.19, 344.63°)
OKLaboklab(42.24% 0.1471 -0.0352)
OKLCHoklch(42.24% 0.151 346.5)
XYZxyz(11.8204, 6.5135, 11.2222)
Luminance0.0651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831D5E #1D8342
analogous
#751D83 #831D5E #831D2B
triadic
#831D5E #5E831D #1D5E83
tetradic
#831D5E #83751D #1D8342 #1D2B83
square
#831D5E #83751D #1D8342 #1D2B83
split-complementary
#831D5E #2B831D #1D8375
monochromatic
#1F0716 #51123A #831D5E #B52882 #D645A1

Accessibility & contrast

On white

9.12
#831D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831D5E
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831D5E#FFFFFF#000000##FFFFFF
##831D5E1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3D60
Deuteranopia (green-blind)
#4A4E5C
Tritanopia (blue-blind)
#8C1A3B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #831d5e;
/* rgb */ color: rgb(131, 29, 94);
/* oklch */ color: oklch(42.2% 0.151 346.5);
Tailwind
colors: {
  custom: {
    50: '#ab648b',
    500: '#831d5e',
    950: '#000000',
  },
}
SCSS
$custom: #831d5e;
$custom-light: #ab648b;
$custom-dark: #000000;
JSON
{
  "hex": "#831d5e",
  "rgb": {
    "r": 131,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 321.765,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42241,
    "c": 0.15129,
    "h": 346.5
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#831D5E
secondary
#46B66E
accent
#E77D41
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #831D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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