#831F5C#831F5C

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

Color values

HEX#831F5C
RGBrgb(131, 31, 92)
HSLhsl(323, 62%, 32%)
HSVhsv(323, 76%, 51%)
CMYKcmyk(0%, 76.3%, 29.8%, 48.6%)
CIE-LABlab(30.83, 47.46, -11.76)
CIE-LCHlch(30.83, 48.89, 346.08°)
OKLaboklab(42.33% 0.1446 -0.031)
OKLCHoklch(42.33% 0.148 347.9)
XYZxyz(11.7824, 6.5793, 10.7726)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F5C #1F8346
analogous
#781F83 #831F5C #831F2A
triadic
#831F5C #5C831F #1F5C83
tetradic
#831F5C #83781F #1F8346 #1F2A83
square
#831F5C #83781F #1F8346 #1F2A83
split-complementary
#831F5C #2A831F #1F8378
monochromatic
#200816 #521339 #831F5C #B42B7F #D4499E

Accessibility & contrast

On white

9.07
#831F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831F5C
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F5C#FFFFFF#000000##FFFFFF
##831F5C1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831f5c;
/* rgb */ color: rgb(131, 31, 92);
/* oklch */ color: oklch(42.3% 0.148 347.9);
Tailwind
colors: {
  custom: {
    50: '#ab658a',
    500: '#831f5c',
    950: '#000000',
  },
}
SCSS
$custom: #831f5c;
$custom-light: #ab658a;
$custom-dark: #000000;
JSON
{
  "hex": "#831f5c",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 92
  },
  "hsl": {
    "h": 323.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42327,
    "c": 0.14783,
    "h": 347.9
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#831F5C
secondary
#48B673
accent
#E58243
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060B
muted
#807A7C

Preview Lab

Preview with #831F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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