#842027#842027

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

Color values

HEX#842027
RGBrgb(132, 32, 39)
HSLhsl(356, 61%, 32%)
HSVhsv(356, 76%, 52%)
CMYKcmyk(0%, 75.8%, 70.5%, 48.2%)
CIE-LABlab(29.63, 42.47, 21.48)
CIE-LCHlch(29.63, 47.59, 26.83°)
OKLaboklab(40.98% 0.1248 0.0501)
OKLCHoklch(40.98% 0.135 21.9)
XYZxyz(10.3996, 6.0866, 2.5463)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842027 #20847D
analogous
#842059 #842027 #844B20
triadic
#842027 #278420 #202784
tetradic
#842027 #598420 #20847D #4B2084
square
#842027 #598420 #20847D #4B2084
split-complementary
#842027 #20844B #205984
monochromatic
#21080A #531418 #842027 #B52C36 #D34B55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##842027#FFFFFF#000000##FFFFFF
##8420271.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)
#3D3826
Deuteranopia (green-blind)
#564E24
Tritanopia (blue-blind)
#910024
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #842027;
/* rgb */ color: rgb(132, 32, 39);
/* oklch */ color: oklch(41.0% 0.135 21.9);
Tailwind
colors: {
  custom: {
    50: '#af6461',
    500: '#842027',
    950: '#000000',
  },
}
SCSS
$custom: #842027;
$custom-light: #af6461;
$custom-dark: #000000;
JSON
{
  "hex": "#842027",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 39
  },
  "hsl": {
    "h": 355.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40983,
    "c": 0.13453,
    "h": 21.9
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#842027
secondary
#4AB6AF
accent
#E4D944
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #842027

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

Preview Lab → · Contrast checker → · Palette generator →

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