#831C4D#831C4D

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

Color values

HEX#831C4D
RGBrgb(131, 28, 77)
HSLhsl(331, 65%, 31%)
HSVhsv(331, 79%, 51%)
CMYKcmyk(0%, 78.6%, 41.2%, 48.6%)
CIE-LABlab(29.89, 46.69, -3.33)
CIE-LCHlch(29.89, 46.81, 355.93°)
OKLaboklab(41.46% 0.1435 -0.0082)
OKLCHoklch(41.46% 0.144 356.7)
XYZxyz(11.1157, 6.1930, 7.6298)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C4D #1C8352
analogous
#831C80 #831C4D #831E1C
triadic
#831C4D #4D831C #1C4D83
tetradic
#831C4D #80831C #1C8352 #1E1C83
square
#831C4D #80831C #1C8352 #1E1C83
split-complementary
#831C4D #1C831E #1C8083
monochromatic
#1E0612 #51112F #831C4D #B5276B #D74389

Accessibility & contrast

On white

9.38
#831C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831C4D
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C4D#FFFFFF#000000##FFFFFF
##831C4D1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323A4E
Deuteranopia (green-blind)
#4E4D4B
Tritanopia (blue-blind)
#8E0D32
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831c4d;
/* rgb */ color: rgb(131, 28, 77);
/* oklch */ color: oklch(41.5% 0.144 356.7);
Tailwind
colors: {
  custom: {
    50: '#ac637e',
    500: '#831c4d',
    950: '#000000',
  },
}
SCSS
$custom: #831c4d;
$custom-light: #ac637e;
$custom-dark: #000000;
JSON
{
  "hex": "#831c4d",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 77
  },
  "hsl": {
    "h": 331.456,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41456,
    "c": 0.14372,
    "h": 356.7
  },
  "luminance": 0.06192
}

Semantic roles & 50–950 ramp

primary
#831C4D
secondary
#45B680
accent
#E89840
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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