#831F5E#831F5E

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

Color values

HEX#831F5E
RGBrgb(131, 31, 94)
HSLhsl(322, 62%, 32%)
HSVhsv(322, 76%, 51%)
CMYKcmyk(0%, 76.3%, 28.2%, 48.6%)
CIE-LABlab(30.91, 47.72, -12.93)
CIE-LCHlch(30.91, 49.44, 344.84°)
OKLaboklab(42.42% 0.145 -0.0342)
OKLCHoklch(42.42% 0.149 346.7)
XYZxyz(11.8710, 6.6147, 11.2391)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F5E #1F8344
analogous
#761F83 #831F5E #831F2C
triadic
#831F5E #5E831F #1F5E83
tetradic
#831F5E #83761F #1F8344 #1F2C83
square
#831F5E #83761F #1F8344 #1F2C83
split-complementary
#831F5E #2C831F #1F8376
monochromatic
#200817 #52133A #831F5E #B42B82 #D449A0

Accessibility & contrast

On white

9.04
#831F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831F5E
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F5E#FFFFFF#000000##FFFFFF
##831F5E1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3E60
Deuteranopia (green-blind)
#4B4F5C
Tritanopia (blue-blind)
#8C1C3C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #831f5e;
/* rgb */ color: rgb(131, 31, 94);
/* oklch */ color: oklch(42.4% 0.149 346.7);
Tailwind
colors: {
  custom: {
    50: '#ab658b',
    500: '#831f5e',
    950: '#000000',
  },
}
SCSS
$custom: #831f5e;
$custom-light: #ab658b;
$custom-dark: #000000;
JSON
{
  "hex": "#831f5e",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 322.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42416,
    "c": 0.149,
    "h": 346.7
  },
  "luminance": 0.06613
}

Semantic roles & 50–950 ramp

primary
#831F5E
secondary
#48B671
accent
#E57F43
background
#FAF6F8
surface
#F5EBF0
border
#CFC6CB
text
#11060C
muted
#807A7D

Preview Lab

Preview with #831F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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