#802028#802028

#802028 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.130 H 20.9°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#802028
RGBrgb(128, 32, 40)
HSLhsl(355, 60%, 31%)
HSVhsv(355, 75%, 50%)
CMYKcmyk(0%, 75%, 68.8%, 49.8%)
CIE-LABlab(28.84, 41.19, 19.68)
CIE-LCHlch(28.84, 45.65, 25.53°)
OKLaboklab(40.26% 0.1216 0.0464)
OKLCHoklch(40.26% 0.13 20.9)
XYZxyz(9.8027, 5.7769, 2.6060)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802028 #208078
analogous
#802058 #802028 #804820
triadic
#802028 #288020 #202880
tetradic
#802028 #588020 #208078 #482080
square
#802028 #588020 #208078 #482080
split-complementary
#802028 #208048 #205880
monochromatic
#1E0809 #4F1419 #802028 #B12C37 #D14954

Accessibility & contrast

On white

9.74
#802028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#802028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802028
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802028#FFFFFF#000000##FFFFFF
##8020281.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3728
Deuteranopia (green-blind)
#534B25
Tritanopia (blue-blind)
#8D0024
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #802028;
/* rgb */ color: rgb(128, 32, 40);
/* oklch */ color: oklch(40.3% 0.130 20.9);
Tailwind
colors: {
  custom: {
    50: '#ab6361',
    500: '#802028',
    950: '#000000',
  },
}
SCSS
$custom: #802028;
$custom-light: #ab6361;
$custom-dark: #000000;
JSON
{
  "hex": "#802028",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 40
  },
  "hsl": {
    "h": 355,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40256,
    "c": 0.13014,
    "h": 20.9
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#802028
secondary
#49B3AA
accent
#E3D645
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #802028

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

Preview Lab → · Contrast checker → · Palette generator →

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