#842226#842226

#842226 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.2% C 0.133 H 23.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#842226
RGBrgb(132, 34, 38)
HSLhsl(358, 59%, 33%)
HSVhsv(358, 74%, 52%)
CMYKcmyk(0%, 74.2%, 71.2%, 48.2%)
CIE-LABlab(29.89, 41.65, 22.44)
CIE-LCHlch(29.89, 47.30, 28.31°)
OKLaboklab(41.17% 0.122 0.0521)
OKLCHoklch(41.17% 0.133 23.1)
XYZxyz(10.4387, 6.1911, 2.4787)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842226 #228480
analogous
#842257 #842226 #844F22
triadic
#842226 #268422 #222684
tetradic
#842226 #578422 #228480 #4F2284
square
#842226 #578422 #228480 #4F2284
split-complementary
#842226 #22844F #225784
monochromatic
#23090A #531518 #842226 #B52F34 #D24F54

Accessibility & contrast

On white

9.38
#842226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#842226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842226
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842226#FFFFFF#000000##FFFFFF
##8422261.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3925
Deuteranopia (green-blind)
#564E23
Tritanopia (blue-blind)
#910024
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #842226;
/* rgb */ color: rgb(132, 34, 38);
/* oklch */ color: oklch(41.2% 0.133 23.1);
Tailwind
colors: {
  custom: {
    50: '#af6560',
    500: '#842226',
    950: '#000000',
  },
}
SCSS
$custom: #842226;
$custom-light: #af6560;
$custom-dark: #000000;
JSON
{
  "hex": "#842226",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 357.551,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41171,
    "c": 0.13267,
    "h": 23.1
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#842226
secondary
#4DB5B1
accent
#E2DC46
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #842226

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

Preview Lab → · Contrast checker → · Palette generator →

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