#831F4D#831F4D

#831F4D is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.140 H 357.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#831F4D
RGBrgb(131, 31, 77)
HSLhsl(332, 62%, 32%)
HSVhsv(332, 76%, 51%)
CMYKcmyk(0%, 76.3%, 41.2%, 48.6%)
CIE-LABlab(30.26, 45.66, -2.78)
CIE-LCHlch(30.26, 45.75, 356.51°)
OKLaboklab(41.73% 0.1402 -0.0067)
OKLCHoklch(41.73% 0.14 357.2)
XYZxyz(11.1904, 6.3425, 7.6547)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F4D #1F8355
analogous
#831F7F #831F4D #83231F
triadic
#831F4D #4D831F #1F4D83
tetradic
#831F4D #7F831F #1F8355 #231F83
square
#831F4D #7F831F #1F8355 #231F83
split-complementary
#831F4D #1F8323 #1F7F83
monochromatic
#200813 #521330 #831F4D #B42B6A #D44989

Accessibility & contrast

On white

9.26
#831F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#831F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F4D
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F4D#FFFFFF#000000##FFFFFF
##831F4D1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343B4E
Deuteranopia (green-blind)
#4F4E4B
Tritanopia (blue-blind)
#8E1233
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #831f4d;
/* rgb */ color: rgb(131, 31, 77);
/* oklch */ color: oklch(41.7% 0.140 357.2);
Tailwind
colors: {
  custom: {
    50: '#ab647e',
    500: '#831f4d',
    950: '#000000',
  },
}
SCSS
$custom: #831f4d;
$custom-light: #ab647e;
$custom-dark: #000000;
JSON
{
  "hex": "#831f4d",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 77
  },
  "hsl": {
    "h": 332.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41725,
    "c": 0.14036,
    "h": 357.2
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#831F4D
secondary
#48B683
accent
#E59A43
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#11060A
muted
#807A7C

Preview Lab

Preview with #831F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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