#831040#831040

#831040 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.150 H 3.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#831040
RGBrgb(131, 16, 64)
HSLhsl(335, 78%, 29%)
HSVhsv(335, 88%, 51%)
CMYKcmyk(0%, 87.8%, 51.1%, 48.6%)
CIE-LABlab(28.29, 48.77, 3.01)
CIE-LCHlch(28.29, 48.87, 3.53°)
OKLaboklab(40.15% 0.1497 0.0082)
OKLCHoklch(40.15% 0.15 3.1)
XYZxyz(10.4717, 5.5675, 5.3727)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831040 #108353
analogous
#83107A #831040 #831A10
triadic
#831040 #408310 #104083
tetradic
#831040 #7A8310 #108353 #1A1083
square
#831040 #7A8310 #108353 #1A1083
split-complementary
#831040 #10831A #107A83
monochromatic
#1B030D #4C0925 #831040 #BA175B #E52977

Accessibility & contrast

On white

9.94
#831040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#831040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831040
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831040#FFFFFF#000000##FFFFFF
##8310401.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303541
Deuteranopia (green-blind)
#4E4B3D
Tritanopia (blue-blind)
#8F0027
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #831040;
/* rgb */ color: rgb(131, 16, 64);
/* oklch */ color: oklch(40.1% 0.150 3.1);
Tailwind
colors: {
  custom: {
    50: '#ad5f74',
    500: '#831040',
    950: '#000000',
  },
}
SCSS
$custom: #831040;
$custom-light: #ad5f74;
$custom-dark: #000000;
JSON
{
  "hex": "#831040",
  "rgb": {
    "r": 131,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 334.957,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40147,
    "c": 0.14994,
    "h": 3.1
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#831040
secondary
#36B982
accent
#F5A433
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #831040

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

Preview Lab → · Contrast checker → · Palette generator →

#831040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva