#842229#842229

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

Color values

HEX#842229
RGBrgb(132, 34, 41)
HSLhsl(356, 59%, 33%)
HSVhsv(356, 74%, 52%)
CMYKcmyk(0%, 74.2%, 68.9%, 48.2%)
CIE-LABlab(29.94, 41.82, 20.57)
CIE-LCHlch(29.94, 46.60, 26.19°)
OKLaboklab(41.22% 0.1232 0.0484)
OKLCHoklch(41.22% 0.132 21.4)
XYZxyz(10.4891, 6.2112, 2.7440)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842229 #22847D
analogous
#84225A #842229 #844C22
triadic
#842229 #298422 #222984
tetradic
#842229 #5A8422 #22847D #4C2284
square
#842229 #5A8422 #22847D #4C2284
split-complementary
#842229 #22844C #225A84
monochromatic
#23090B #53151A #842229 #B52F38 #D24F58

Accessibility & contrast

On white

9.37
#842229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842229
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842229#FFFFFF#000000##FFFFFF
##8422291.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3928
Deuteranopia (green-blind)
#564E26
Tritanopia (blue-blind)
#910025
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #842229;
/* rgb */ color: rgb(132, 34, 41);
/* oklch */ color: oklch(41.2% 0.132 21.4);
Tailwind
colors: {
  custom: {
    50: '#ae6562',
    500: '#842229',
    950: '#000000',
  },
}
SCSS
$custom: #842229;
$custom-light: #ae6562;
$custom-dark: #000000;
JSON
{
  "hex": "#842229",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 41
  },
  "hsl": {
    "h": 355.714,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41224,
    "c": 0.13239,
    "h": 21.4
  },
  "luminance": 0.0621
}

Semantic roles & 50–950 ramp

primary
#842229
secondary
#4DB5AE
accent
#E2D746
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #842229

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

Preview Lab → · Contrast checker → · Palette generator →

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