#831C4F#831C4F

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

Color values

HEX#831C4F
RGBrgb(131, 28, 79)
HSLhsl(330, 65%, 31%)
HSVhsv(330, 79%, 51%)
CMYKcmyk(0%, 78.6%, 39.7%, 48.6%)
CIE-LABlab(29.96, 46.91, -4.54)
CIE-LCHlch(29.96, 47.13, 354.47°)
OKLaboklab(41.53% 0.1441 -0.0114)
OKLCHoklch(41.53% 0.145 355.5)
XYZxyz(11.1874, 6.2217, 8.0074)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C4F #1C8350
analogous
#831C82 #831C4F #831C1C
triadic
#831C4F #4F831C #1C4F83
tetradic
#831C4F #82831C #1C8350 #1C1C83
square
#831C4F #82831C #1C8350 #1C1C83
split-complementary
#831C4F #1C831C #1C8283
monochromatic
#1E0612 #511131 #831C4F #B5276D #D7438C

Accessibility & contrast

On white

9.36
#831C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831C4F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C4F#FFFFFF#000000##FFFFFF
##831C4F1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A50
Deuteranopia (green-blind)
#4E4D4D
Tritanopia (blue-blind)
#8E0E33
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831c4f;
/* rgb */ color: rgb(131, 28, 79);
/* oklch */ color: oklch(41.5% 0.145 355.5);
Tailwind
colors: {
  custom: {
    50: '#ab6380',
    500: '#831c4f',
    950: '#000000',
  },
}
SCSS
$custom: #831c4f;
$custom-light: #ab6380;
$custom-dark: #000000;
JSON
{
  "hex": "#831c4f",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 330.291,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41531,
    "c": 0.14458,
    "h": 355.5
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#831C4F
secondary
#45B67E
accent
#E89540
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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