#831F50#831F50

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

Color values

HEX#831F50
RGBrgb(131, 31, 80)
HSLhsl(331, 62%, 32%)
HSVhsv(331, 76%, 51%)
CMYKcmyk(0%, 76.3%, 38.9%, 48.6%)
CIE-LABlab(30.37, 46.00, -4.61)
CIE-LCHlch(30.37, 46.23, 354.28°)
OKLaboklab(41.84% 0.1412 -0.0116)
OKLCHoklch(41.84% 0.142 355.3)
XYZxyz(11.2988, 6.3858, 8.2255)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F50 #1F8352
analogous
#831F82 #831F50 #83201F
triadic
#831F50 #50831F #1F5083
tetradic
#831F50 #82831F #1F8352 #201F83
square
#831F50 #82831F #1F8352 #201F83
split-complementary
#831F50 #1F8320 #1F8283
monochromatic
#200814 #521332 #831F50 #B42B6E #D4498D

Accessibility & contrast

On white

9.22
#831F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#831F50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F50
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F50#FFFFFF#000000##FFFFFF
##831F501.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C51
Deuteranopia (green-blind)
#4E4E4E
Tritanopia (blue-blind)
#8E1434
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831f50;
/* rgb */ color: rgb(131, 31, 80);
/* oklch */ color: oklch(41.8% 0.142 355.3);
Tailwind
colors: {
  custom: {
    50: '#ab6581',
    500: '#831f50',
    950: '#000000',
  },
}
SCSS
$custom: #831f50;
$custom-light: #ab6581;
$custom-dark: #000000;
JSON
{
  "hex": "#831f50",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 80
  },
  "hsl": {
    "h": 330.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41836,
    "c": 0.14165,
    "h": 355.3
  },
  "luminance": 0.06384
}

Semantic roles & 50–950 ramp

primary
#831F50
secondary
#48B680
accent
#E59643
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831F50

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

Preview Lab → · Contrast checker → · Palette generator →

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