#812229#812229

#812229 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.7% C 0.129 H 21.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#812229
RGBrgb(129, 34, 41)
HSLhsl(356, 58%, 32%)
HSVhsv(356, 74%, 51%)
CMYKcmyk(0%, 73.6%, 68.2%, 49.4%)
CIE-LABlab(29.34, 40.81, 19.70)
CIE-LCHlch(29.34, 45.31, 25.77°)
OKLaboklab(40.67% 0.1204 0.0466)
OKLCHoklch(40.67% 0.129 21.1)
XYZxyz(10.0266, 5.9727, 2.7223)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812229 #22817A
analogous
#812259 #812229 #814B22
triadic
#812229 #298122 #222981
tetradic
#812229 #598122 #22817A #4B2281
square
#812229 #598122 #22817A #4B2281
split-complementary
#812229 #22814B #225981
monochromatic
#20080A #51151A #812229 #B12F38 #D04D57

Accessibility & contrast

On white

9.57
#812229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#812229 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812229
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812229#FFFFFF#000000##FFFFFF
##8122291.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3829
Deuteranopia (green-blind)
#544D26
Tritanopia (blue-blind)
#8E0325
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #812229;
/* rgb */ color: rgb(129, 34, 41);
/* oklch */ color: oklch(40.7% 0.129 21.1);
Tailwind
colors: {
  custom: {
    50: '#ac6462',
    500: '#812229',
    950: '#000000',
  },
}
SCSS
$custom: #812229;
$custom-light: #ac6462;
$custom-dark: #000000;
JSON
{
  "hex": "#812229",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 355.579,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40671,
    "c": 0.12911,
    "h": 21.1
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#812229
secondary
#4BB3AC
accent
#E1D646
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #812229

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

Preview Lab → · Contrast checker → · Palette generator →

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