#831F5D#831F5D

#831F5D is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.148 H 347.3°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#831F5D
RGBrgb(131, 31, 93)
HSLhsl(323, 62%, 32%)
HSVhsv(323, 76%, 51%)
CMYKcmyk(0%, 76.3%, 29%, 48.6%)
CIE-LABlab(30.87, 47.59, -12.35)
CIE-LCHlch(30.87, 49.16, 345.45°)
OKLaboklab(42.37% 0.1448 -0.0326)
OKLCHoklch(42.37% 0.148 347.3)
XYZxyz(11.8264, 6.5969, 11.0043)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F5D #1F8345
analogous
#771F83 #831F5D #831F2B
triadic
#831F5D #5D831F #1F5D83
tetradic
#831F5D #83771F #1F8345 #1F2B83
square
#831F5D #83771F #1F8345 #1F2B83
split-complementary
#831F5D #2B831F #1F8377
monochromatic
#200817 #52133A #831F5D #B42B80 #D4499F

Accessibility & contrast

On white

9.05
#831F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#831F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F5D
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F5D#FFFFFF#000000##FFFFFF
##831F5D1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3E5F
Deuteranopia (green-blind)
#4B4F5B
Tritanopia (blue-blind)
#8D1B3B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831f5d;
/* rgb */ color: rgb(131, 31, 93);
/* oklch */ color: oklch(42.4% 0.148 347.3);
Tailwind
colors: {
  custom: {
    50: '#ab658b',
    500: '#831f5d',
    950: '#000000',
  },
}
SCSS
$custom: #831f5d;
$custom-light: #ab658b;
$custom-dark: #000000;
JSON
{
  "hex": "#831f5d",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 322.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42371,
    "c": 0.14841,
    "h": 347.3
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#831F5D
secondary
#48B672
accent
#E58043
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #831F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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