#831047#831047

#831047 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.152 H 358.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#831047
RGBrgb(131, 16, 71)
HSLhsl(331, 78%, 29%)
HSVhsv(331, 88%, 51%)
CMYKcmyk(0%, 87.8%, 45.8%, 48.6%)
CIE-LABlab(28.52, 49.42, -1.36)
CIE-LCHlch(28.52, 49.44, 358.42°)
OKLaboklab(40.38% 0.1522 -0.003)
OKLCHoklch(40.38% 0.152 358.9)
XYZxyz(10.6836, 5.6523, 6.4884)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831047 #10834C
analogous
#831081 #831047 #831210
triadic
#831047 #478310 #104783
tetradic
#831047 #818310 #10834C #121083
square
#831047 #818310 #10834C #121083
split-complementary
#831047 #108312 #108183
monochromatic
#1B030F #4C0929 #831047 #BA1765 #E52983

Accessibility & contrast

On white

9.86
#831047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#831047 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831047
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831047#FFFFFF#000000##FFFFFF
##8310471.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3648
Deuteranopia (green-blind)
#4D4B44
Tritanopia (blue-blind)
#8F002B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #831047;
/* rgb */ color: rgb(131, 16, 71);
/* oklch */ color: oklch(40.4% 0.152 358.9);
Tailwind
colors: {
  custom: {
    50: '#ac5f7a',
    500: '#831047',
    950: '#000000',
  },
}
SCSS
$custom: #831047;
$custom-light: #ac5f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#831047",
  "rgb": {
    "r": 131,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 331.304,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40383,
    "c": 0.15224,
    "h": 358.9
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#831047
secondary
#36B97A
accent
#F59833
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #831047

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

Preview Lab → · Contrast checker → · Palette generator →

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