#831F4E#831F4E

#831F4E is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.141 H 356.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#831F4E
RGBrgb(131, 31, 78)
HSLhsl(332, 62%, 32%)
HSVhsv(332, 76%, 51%)
CMYKcmyk(0%, 76.3%, 40.5%, 48.6%)
CIE-LABlab(30.30, 45.77, -3.39)
CIE-LCHlch(30.30, 45.90, 355.76°)
OKLaboklab(41.76% 0.1405 -0.0083)
OKLCHoklch(41.76% 0.141 356.6)
XYZxyz(11.2260, 6.3567, 7.8421)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F4E #1F8354
analogous
#831F80 #831F4E #83221F
triadic
#831F4E #4E831F #1F4E83
tetradic
#831F4E #80831F #1F8354 #221F83
square
#831F4E #80831F #1F8354 #221F83
split-complementary
#831F4E #1F8322 #1F8083
monochromatic
#200813 #521331 #831F4E #B42B6B #D4498A

Accessibility & contrast

On white

9.25
#831F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#831F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F4E
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F4E#FFFFFF#000000##FFFFFF
##831F4E1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4F
Deuteranopia (green-blind)
#4F4E4C
Tritanopia (blue-blind)
#8E1233
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831f4e;
/* rgb */ color: rgb(131, 31, 78);
/* oklch */ color: oklch(41.8% 0.141 356.6);
Tailwind
colors: {
  custom: {
    50: '#ab647f',
    500: '#831f4e',
    950: '#000000',
  },
}
SCSS
$custom: #831f4e;
$custom-light: #ab647f;
$custom-dark: #000000;
JSON
{
  "hex": "#831f4e",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 331.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41762,
    "c": 0.14078,
    "h": 356.6
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#831F4E
secondary
#48B682
accent
#E59943
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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