#802428#802428

#802428 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.7% C 0.126 H 22.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#802428
RGBrgb(128, 36, 40)
HSLhsl(357, 56%, 32%)
HSVhsv(357, 72%, 50%)
CMYKcmyk(0%, 71.9%, 68.8%, 49.8%)
CIE-LABlab(29.43, 39.58, 20.41)
CIE-LCHlch(29.43, 44.53, 27.27°)
OKLaboklab(40.69% 0.1165 0.0481)
OKLCHoklch(40.69% 0.126 22.4)
XYZxyz(9.9170, 6.0056, 2.6441)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802428 #24807C
analogous
#802456 #802428 #804E24
triadic
#802428 #288024 #242880
tetradic
#802428 #568024 #24807C #4E2480
square
#802428 #568024 #24807C #4E2480
split-complementary
#802428 #24804E #245680
monochromatic
#20090A #501719 #802428 #B03137 #CE5056

Accessibility & contrast

On white

9.54
#802428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#802428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802428
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802428#FFFFFF#000000##FFFFFF
##8024281.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3927
Deuteranopia (green-blind)
#544D25
Tritanopia (blue-blind)
#8D0926
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #802428;
/* rgb */ color: rgb(128, 36, 40);
/* oklch */ color: oklch(40.7% 0.126 22.4);
Tailwind
colors: {
  custom: {
    50: '#ab6561',
    500: '#802428',
    950: '#000000',
  },
}
SCSS
$custom: #802428;
$custom-light: #ab6561;
$custom-dark: #000000;
JSON
{
  "hex": "#802428",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 40
  },
  "hsl": {
    "h": 357.391,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40691,
    "c": 0.12598,
    "h": 22.4
  },
  "luminance": 0.06004
}

Semantic roles & 50–950 ramp

primary
#802428
secondary
#4EB2AD
accent
#DFD948
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #802428

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

Preview Lab → · Contrast checker → · Palette generator →

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