#812236#812236

#812236 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.0% C 0.129 H 12.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#812236
RGBrgb(129, 34, 54)
HSLhsl(347, 58%, 32%)
HSVhsv(347, 74%, 51%)
CMYKcmyk(0%, 73.6%, 58.1%, 49.4%)
CIE-LABlab(29.61, 41.72, 11.49)
CIE-LCHlch(29.61, 43.27, 15.40°)
OKLaboklab(40.96% 0.1259 0.0287)
OKLCHoklch(40.96% 0.129 12.8)
XYZxyz(10.2921, 6.0790, 4.1207)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812236 #22816D
analogous
#812266 #812236 #813D22
triadic
#812236 #368122 #223681
tetradic
#812236 #668122 #22816D #3D2281
square
#812236 #668122 #22816D #3D2281
split-complementary
#812236 #22813D #226681
monochromatic
#20080D #511522 #812236 #B12F4A #D04D69

Accessibility & contrast

On white

9.48
#812236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #812236
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812236#FFFFFF#000000##FFFFFF
##8122361.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3936
Deuteranopia (green-blind)
#534D34
Tritanopia (blue-blind)
#8D0A2A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #812236;
/* rgb */ color: rgb(129, 34, 54);
/* oklch */ color: oklch(41.0% 0.129 12.8);
Tailwind
colors: {
  custom: {
    50: '#ab656c',
    500: '#812236',
    950: '#000000',
  },
}
SCSS
$custom: #812236;
$custom-light: #ab656c;
$custom-dark: #000000;
JSON
{
  "hex": "#812236",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 54
  },
  "hsl": {
    "h": 347.368,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40956,
    "c": 0.12912,
    "h": 12.8
  },
  "luminance": 0.06078
}

Semantic roles & 50–950 ramp

primary
#812236
secondary
#4BB39D
accent
#E1C146
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #812236

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

Preview Lab → · Contrast checker → · Palette generator →

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