#842227#842227

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

Color values

HEX#842227
RGBrgb(132, 34, 39)
HSLhsl(357, 59%, 33%)
HSVhsv(357, 74%, 52%)
CMYKcmyk(0%, 74.2%, 70.5%, 48.2%)
CIE-LABlab(29.91, 41.70, 21.82)
CIE-LCHlch(29.91, 47.06, 27.62°)
OKLaboklab(41.19% 0.1224 0.0509)
OKLCHoklch(41.19% 0.133 22.6)
XYZxyz(10.4551, 6.1976, 2.5648)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842227 #22847F
analogous
#842258 #842227 #844E22
triadic
#842227 #278422 #222784
tetradic
#842227 #588422 #22847F #4E2284
square
#842227 #588422 #22847F #4E2284
split-complementary
#842227 #22844E #225884
monochromatic
#23090A #531519 #842227 #B52F35 #D24F55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##842227#FFFFFF#000000##FFFFFF
##8422271.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)
#3E3926
Deuteranopia (green-blind)
#564E24
Tritanopia (blue-blind)
#910025
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #842227;
/* rgb */ color: rgb(132, 34, 39);
/* oklch */ color: oklch(41.2% 0.133 22.6);
Tailwind
colors: {
  custom: {
    50: '#af6561',
    500: '#842227',
    950: '#000000',
  },
}
SCSS
$custom: #842227;
$custom-light: #af6561;
$custom-dark: #000000;
JSON
{
  "hex": "#842227",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 356.939,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41188,
    "c": 0.13257,
    "h": 22.6
  },
  "luminance": 0.06196
}

Semantic roles & 50–950 ramp

primary
#842227
secondary
#4DB5B0
accent
#E2DA46
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #842227

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

Preview Lab → · Contrast checker → · Palette generator →

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