#831C4E#831C4E

#831C4E is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.144 H 356.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#831C4E
RGBrgb(131, 28, 78)
HSLhsl(331, 65%, 31%)
HSVhsv(331, 79%, 51%)
CMYKcmyk(0%, 78.6%, 40.5%, 48.6%)
CIE-LABlab(29.93, 46.80, -3.94)
CIE-LCHlch(29.93, 46.97, 355.19°)
OKLaboklab(41.49% 0.1438 -0.0098)
OKLCHoklch(41.49% 0.144 356.1)
XYZxyz(11.1512, 6.2073, 7.8172)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C4E #1C8351
analogous
#831C81 #831C4E #831D1C
triadic
#831C4E #4E831C #1C4E83
tetradic
#831C4E #81831C #1C8351 #1D1C83
square
#831C4E #81831C #1C8351 #1D1C83
split-complementary
#831C4E #1C831D #1C8183
monochromatic
#1E0612 #511130 #831C4E #B5276C #D7438B

Accessibility & contrast

On white

9.37
#831C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#831C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831C4E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C4E#FFFFFF#000000##FFFFFF
##831C4E1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A4F
Deuteranopia (green-blind)
#4E4D4C
Tritanopia (blue-blind)
#8E0E32
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831c4e;
/* rgb */ color: rgb(131, 28, 78);
/* oklch */ color: oklch(41.5% 0.144 356.1);
Tailwind
colors: {
  custom: {
    50: '#ac637f',
    500: '#831c4e',
    950: '#000000',
  },
}
SCSS
$custom: #831c4e;
$custom-light: #ac637f;
$custom-dark: #000000;
JSON
{
  "hex": "#831c4e",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 330.874,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41493,
    "c": 0.14414,
    "h": 356.1
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#831C4E
secondary
#45B67F
accent
#E89640
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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