#831A4D#831A4D

#831A4D is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.146 H 356.4°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#831A4D
RGBrgb(131, 26, 77)
HSLhsl(331, 67%, 31%)
HSVhsv(331, 80%, 51%)
CMYKcmyk(0%, 80.2%, 41.2%, 48.6%)
CIE-LABlab(29.67, 47.34, -3.66)
CIE-LCHlch(29.67, 47.48, 355.57°)
OKLaboklab(41.29% 0.1456 -0.009)
OKLCHoklch(41.29% 0.146 356.4)
XYZxyz(11.0698, 6.1013, 7.6145)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A4D #1A8350
analogous
#831A81 #831A4D #831B1A
triadic
#831A4D #4D831A #1A4D83
tetradic
#831A4D #81831A #1A8350 #1B1A83
square
#831A4D #81831A #1A8350 #1B1A83
split-complementary
#831A4D #1A831B #1A8183
monochromatic
#1D0611 #50102F #831A4D #B6246B #D93F89

Accessibility & contrast

On white

9.46
#831A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#831A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A4D
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A4D#FFFFFF#000000##FFFFFF
##831A4D1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31394E
Deuteranopia (green-blind)
#4E4D4B
Tritanopia (blue-blind)
#8E0931
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831a4d;
/* rgb */ color: rgb(131, 26, 77);
/* oklch */ color: oklch(41.3% 0.146 356.4);
Tailwind
colors: {
  custom: {
    50: '#ac627e',
    500: '#831a4d',
    950: '#000000',
  },
}
SCSS
$custom: #831a4d;
$custom-light: #ac627e;
$custom-dark: #000000;
JSON
{
  "hex": "#831a4d",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 330.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4129,
    "c": 0.14583,
    "h": 356.4
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#831A4D
secondary
#42B77E
accent
#EA963E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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