#812128#812128

#812128 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.130 H 21.4°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#812128
RGBrgb(129, 33, 40)
HSLhsl(356, 59%, 32%)
HSVhsv(356, 74%, 51%)
CMYKcmyk(0%, 74.4%, 69%, 49.4%)
CIE-LABlab(29.18, 41.14, 20.15)
CIE-LCHlch(29.18, 45.81, 26.09°)
OKLaboklab(40.55% 0.1213 0.0475)
OKLCHoklch(40.55% 0.13 21.4)
XYZxyz(9.9812, 5.9095, 2.6222)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812128 #21817A
analogous
#812158 #812128 #814A21
triadic
#812128 #288121 #212881
tetradic
#812128 #588121 #21817A #4A2181
square
#812128 #588121 #21817A #4A2181
split-complementary
#812128 #21814A #215881
monochromatic
#20080A #501519 #812128 #B22D37 #D14B55

Accessibility & contrast

On white

9.63
#812128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #812128
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812128#FFFFFF#000000##FFFFFF
##8121281.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3827
Deuteranopia (green-blind)
#544C25
Tritanopia (blue-blind)
#8E0024
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #812128;
/* rgb */ color: rgb(129, 33, 40);
/* oklch */ color: oklch(40.5% 0.130 21.4);
Tailwind
colors: {
  custom: {
    50: '#ac6461',
    500: '#812128',
    950: '#000000',
  },
}
SCSS
$custom: #812128;
$custom-light: #ac6461;
$custom-dark: #000000;
JSON
{
  "hex": "#812128",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 40
  },
  "hsl": {
    "h": 355.625,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40546,
    "c": 0.13021,
    "h": 21.4
  },
  "luminance": 0.05908
}

Semantic roles & 50–950 ramp

primary
#812128
secondary
#4AB4AC
accent
#E2D745
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #812128

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

Preview Lab → · Contrast checker → · Palette generator →

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