#831E40#831E40

#831E40 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.137 H 5.6°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#831E40
RGBrgb(131, 30, 64)
HSLhsl(340, 63%, 32%)
HSVhsv(340, 77%, 51%)
CMYKcmyk(0%, 77.1%, 51.1%, 48.6%)
CIE-LABlab(29.73, 44.71, 5.06)
CIE-LCHlch(29.73, 44.99, 6.46°)
OKLaboklab(41.2% 0.1366 0.0133)
OKLCHoklch(41.2% 0.137 5.6)
XYZxyz(10.7507, 6.1255, 5.4657)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E40 #1E8361
analogous
#831E73 #831E40 #832F1E
triadic
#831E40 #40831E #1E4083
tetradic
#831E40 #73831E #1E8361 #2F1E83
square
#831E40 #73831E #1E8361 #2F1E83
split-complementary
#831E40 #1E832F #1E7383
monochromatic
#1F070F #511328 #831E40 #B52958 #D54776

Accessibility & contrast

On white

9.44
#831E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831E40
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E40#FFFFFF#000000##FFFFFF
##831E401.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373941
Deuteranopia (green-blind)
#514D3E
Tritanopia (blue-blind)
#8F062C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831e40;
/* rgb */ color: rgb(131, 30, 64);
/* oklch */ color: oklch(41.2% 0.137 5.6);
Tailwind
colors: {
  custom: {
    50: '#ac6474',
    500: '#831e40',
    950: '#000000',
  },
}
SCSS
$custom: #831e40;
$custom-light: #ac6474;
$custom-dark: #000000;
JSON
{
  "hex": "#831e40",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 339.802,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41199,
    "c": 0.13725,
    "h": 5.6
  },
  "luminance": 0.06124
}

Semantic roles & 50–950 ramp

primary
#831E40
secondary
#47B691
accent
#E6AF42
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #831E40

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

Preview Lab → · Contrast checker → · Palette generator →

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