#831F4F#831F4F

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

Color values

HEX#831F4F
RGBrgb(131, 31, 79)
HSLhsl(331, 62%, 32%)
HSVhsv(331, 76%, 51%)
CMYKcmyk(0%, 76.3%, 39.7%, 48.6%)
CIE-LABlab(30.33, 45.88, -4.00)
CIE-LCHlch(30.33, 46.06, 355.02°)
OKLaboklab(41.8% 0.1409 -0.0099)
OKLCHoklch(41.8% 0.141 356)
XYZxyz(11.2621, 6.3712, 8.0323)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F4F #1F8353
analogous
#831F81 #831F4F #83211F
triadic
#831F4F #4F831F #1F4F83
tetradic
#831F4F #81831F #1F8353 #211F83
square
#831F4F #81831F #1F8353 #211F83
split-complementary
#831F4F #1F8321 #1F8183
monochromatic
#200813 #521331 #831F4F #B42B6D #D4498B

Accessibility & contrast

On white

9.23
#831F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831F4F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F4F#FFFFFF#000000##FFFFFF
##831F4F1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C50
Deuteranopia (green-blind)
#4F4E4D
Tritanopia (blue-blind)
#8E1334
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831f4f;
/* rgb */ color: rgb(131, 31, 79);
/* oklch */ color: oklch(41.8% 0.141 356.0);
Tailwind
colors: {
  custom: {
    50: '#ab6580',
    500: '#831f4f',
    950: '#000000',
  },
}
SCSS
$custom: #831f4f;
$custom-light: #ab6580;
$custom-dark: #000000;
JSON
{
  "hex": "#831f4f",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 331.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41799,
    "c": 0.14121,
    "h": 356
  },
  "luminance": 0.0637
}

Semantic roles & 50–950 ramp

primary
#831F4F
secondary
#48B681
accent
#E59743
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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