#831A4A#831A4A

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

Color values

HEX#831A4A
RGBrgb(131, 26, 74)
HSLhsl(333, 67%, 31%)
HSVhsv(333, 80%, 51%)
CMYKcmyk(0%, 80.2%, 43.5%, 48.6%)
CIE-LABlab(29.56, 47.02, -1.83)
CIE-LCHlch(29.56, 47.06, 357.77°)
OKLaboklab(41.18% 0.1446 -0.0042)
OKLCHoklch(41.18% 0.145 358.3)
XYZxyz(10.9663, 6.0599, 7.0694)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A4A #1A8353
analogous
#831A7E #831A4A #831E1A
triadic
#831A4A #4A831A #1A4A83
tetradic
#831A4A #7E831A #1A8353 #1E1A83
square
#831A4A #7E831A #1A8353 #1E1A83
split-complementary
#831A4A #1A831E #1A7E83
monochromatic
#1D0610 #50102D #831A4A #B62467 #D93F85

Accessibility & contrast

On white

9.50
#831A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#831A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A4A
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A4A#FFFFFF#000000##FFFFFF
##831A4A1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32394B
Deuteranopia (green-blind)
#4E4D48
Tritanopia (blue-blind)
#8E0630
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #831a4a;
/* rgb */ color: rgb(131, 26, 74);
/* oklch */ color: oklch(41.2% 0.145 358.3);
Tailwind
colors: {
  custom: {
    50: '#ac627c',
    500: '#831a4a',
    950: '#000000',
  },
}
SCSS
$custom: #831a4a;
$custom-light: #ac627c;
$custom-dark: #000000;
JSON
{
  "hex": "#831a4a",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 74
  },
  "hsl": {
    "h": 332.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4118,
    "c": 0.14462,
    "h": 358.3
  },
  "luminance": 0.06058
}

Semantic roles & 50–950 ramp

primary
#831A4A
secondary
#42B781
accent
#EA9B3E
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#110609
muted
#807A7B

Preview Lab

Preview with #831A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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