#812331#812331

#812331 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.9% C 0.128 H 16.5°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#812331
RGBrgb(129, 35, 49)
HSLhsl(351, 57%, 32%)
HSVhsv(351, 73%, 51%)
CMYKcmyk(0%, 72.9%, 62%, 49.4%)
CIE-LABlab(29.64, 40.94, 14.84)
CIE-LCHlch(29.64, 43.55, 19.93°)
OKLaboklab(40.95% 0.1225 0.0363)
OKLCHoklch(40.95% 0.128 16.5)
XYZxyz(10.2097, 6.0924, 3.5435)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812331 #238173
analogous
#812360 #812331 #814423
triadic
#812331 #318123 #233181
tetradic
#812331 #608123 #238173 #442381
square
#812331 #608123 #238173 #442381
split-complementary
#812331 #238144 #236081
monochromatic
#21090C #51161F #812331 #B13043 #CF4F62

Accessibility & contrast

On white

9.47
#812331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#812331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812331
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812331#FFFFFF#000000##FFFFFF
##8123311.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3931
Deuteranopia (green-blind)
#544D2F
Tritanopia (blue-blind)
#8E0A29
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #812331;
/* rgb */ color: rgb(129, 35, 49);
/* oklch */ color: oklch(40.9% 0.128 16.5);
Tailwind
colors: {
  custom: {
    50: '#ab6568',
    500: '#812331',
    950: '#000000',
  },
}
SCSS
$custom: #812331;
$custom-light: #ab6568;
$custom-dark: #000000;
JSON
{
  "hex": "#812331",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 49
  },
  "hsl": {
    "h": 351.064,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40945,
    "c": 0.12777,
    "h": 16.5
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#812331
secondary
#4DB3A4
accent
#E1CA47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #812331

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

Preview Lab → · Contrast checker → · Palette generator →

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