#812031#812031

#812031 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.6% C 0.131 H 15.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#812031
RGBrgb(129, 32, 49)
HSLhsl(349, 60%, 32%)
HSVhsv(349, 75%, 51%)
CMYKcmyk(0%, 75.2%, 62%, 49.4%)
CIE-LABlab(29.22, 42.12, 14.28)
CIE-LCHlch(29.22, 44.47, 18.73°)
OKLaboklab(40.63% 0.1263 0.035)
OKLCHoklch(40.63% 0.131 15.5)
XYZxyz(10.1252, 5.9234, 3.5153)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812031 #208170
analogous
#812062 #812031 #814020
triadic
#812031 #318120 #203181
tetradic
#812031 #628120 #208170 #402081
square
#812031 #628120 #208170 #402081
split-complementary
#812031 #208140 #206281
monochromatic
#1F080C #50141E #812031 #B22C44 #D24961

Accessibility & contrast

On white

9.61
#812031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#812031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812031
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812031#FFFFFF#000000##FFFFFF
##8120311.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3831
Deuteranopia (green-blind)
#534C2E
Tritanopia (blue-blind)
#8E0327
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #812031;
/* rgb */ color: rgb(129, 32, 49);
/* oklch */ color: oklch(40.6% 0.131 15.5);
Tailwind
colors: {
  custom: {
    50: '#ac6468',
    500: '#812031',
    950: '#000000',
  },
}
SCSS
$custom: #812031;
$custom-light: #ac6468;
$custom-dark: #000000;
JSON
{
  "hex": "#812031",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 49
  },
  "hsl": {
    "h": 349.485,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40628,
    "c": 0.13103,
    "h": 15.5
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#812031
secondary
#49B4A1
accent
#E3C844
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #812031

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

Preview Lab → · Contrast checker → · Palette generator →

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