#842228#842228

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

Color values

HEX#842228
RGBrgb(132, 34, 40)
HSLhsl(356, 59%, 33%)
HSVhsv(356, 74%, 52%)
CMYKcmyk(0%, 74.2%, 69.7%, 48.2%)
CIE-LABlab(29.92, 41.76, 21.19)
CIE-LCHlch(29.92, 46.83, 26.91°)
OKLaboklab(41.21% 0.1228 0.0497)
OKLCHoklch(41.21% 0.132 22)
XYZxyz(10.4719, 6.2043, 2.6532)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842228 #22847E
analogous
#842259 #842228 #844D22
triadic
#842228 #288422 #222884
tetradic
#842228 #598422 #22847E #4D2284
square
#842228 #598422 #22847E #4D2284
split-complementary
#842228 #22844D #225984
monochromatic
#23090B #531519 #842228 #B52F37 #D24F57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##842228#FFFFFF#000000##FFFFFF
##8422281.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)
#3E3927
Deuteranopia (green-blind)
#564E25
Tritanopia (blue-blind)
#910025
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #842228;
/* rgb */ color: rgb(132, 34, 40);
/* oklch */ color: oklch(41.2% 0.132 22.0);
Tailwind
colors: {
  custom: {
    50: '#af6561',
    500: '#842228',
    950: '#000000',
  },
}
SCSS
$custom: #842228;
$custom-light: #af6561;
$custom-dark: #000000;
JSON
{
  "hex": "#842228",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 356.327,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41206,
    "c": 0.13247,
    "h": 22
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#842228
secondary
#4DB5AF
accent
#E2D946
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #842228

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

Preview Lab → · Contrast checker → · Palette generator →

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