#842023#842023

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

Color values

HEX#842023
RGBrgb(132, 32, 35)
HSLhsl(358, 61%, 32%)
HSVhsv(358, 76%, 52%)
CMYKcmyk(0%, 75.8%, 73.5%, 48.2%)
CIE-LABlab(29.57, 42.25, 23.96)
CIE-LCHlch(29.57, 48.58, 29.56°)
OKLaboklab(40.92% 0.1233 0.0549)
OKLCHoklch(40.92% 0.135 24)
XYZxyz(10.3368, 6.0615, 2.2155)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842023 #208481
analogous
#842055 #842023 #844F20
triadic
#842023 #238420 #202384
tetradic
#842023 #558420 #208481 #4F2084
square
#842023 #558420 #208481 #4F2084
split-complementary
#842023 #20844F #205584
monochromatic
#210809 #531416 #842023 #B52C30 #D34B4F

Accessibility & contrast

On white

9.49
#842023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#842023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842023
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842023#FFFFFF#000000##FFFFFF
##8420231.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3822
Deuteranopia (green-blind)
#564D20
Tritanopia (blue-blind)
#920022
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #842023;
/* rgb */ color: rgb(132, 32, 35);
/* oklch */ color: oklch(40.9% 0.135 24.0);
Tailwind
colors: {
  custom: {
    50: '#af645e',
    500: '#842023',
    950: '#000000',
  },
}
SCSS
$custom: #842023;
$custom-light: #af645e;
$custom-dark: #000000;
JSON
{
  "hex": "#842023",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 35
  },
  "hsl": {
    "h": 358.2,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40916,
    "c": 0.13493,
    "h": 24
  },
  "luminance": 0.0606
}

Semantic roles & 50–950 ramp

primary
#842023
secondary
#4AB6B3
accent
#E4DF44
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #842023

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

Preview Lab → · Contrast checker → · Palette generator →

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