#812237#812237

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

Color values

HEX#812237
RGBrgb(129, 34, 55)
HSLhsl(347, 58%, 32%)
HSVhsv(347, 74%, 51%)
CMYKcmyk(0%, 73.6%, 57.4%, 49.4%)
CIE-LABlab(29.63, 41.80, 10.86)
CIE-LCHlch(29.63, 43.19, 14.56°)
OKLaboklab(40.98% 0.1263 0.0273)
OKLCHoklch(40.98% 0.129 12.2)
XYZxyz(10.3158, 6.0884, 4.2457)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812237 #22816C
analogous
#812267 #812237 #813D22
triadic
#812237 #378122 #223781
tetradic
#812237 #678122 #22816C #3D2281
square
#812237 #678122 #22816C #3D2281
split-complementary
#812237 #22813D #226781
monochromatic
#20080E #511522 #812237 #B12F4C #D04D6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##812237#FFFFFF#000000##FFFFFF
##8122371.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)
#3A3937
Deuteranopia (green-blind)
#534D35
Tritanopia (blue-blind)
#8D0B2B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #812237;
/* rgb */ color: rgb(129, 34, 55);
/* oklch */ color: oklch(41.0% 0.129 12.2);
Tailwind
colors: {
  custom: {
    50: '#ab656d',
    500: '#812237',
    950: '#000000',
  },
}
SCSS
$custom: #812237;
$custom-light: #ab656d;
$custom-dark: #000000;
JSON
{
  "hex": "#812237",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 55
  },
  "hsl": {
    "h": 346.737,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40982,
    "c": 0.12922,
    "h": 12.2
  },
  "luminance": 0.06087
}

Semantic roles & 50–950 ramp

primary
#812237
secondary
#4BB39C
accent
#E1BF46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #812237

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

Preview Lab → · Contrast checker → · Palette generator →

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