#802828#802828

#802828 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.2% C 0.122 H 24.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#802828
RGBrgb(128, 40, 40)
HSLhsl(0, 52%, 33%)
HSVhsv(0, 69%, 50%)
CMYKcmyk(0%, 68.8%, 68.8%, 49.8%)
CIE-LABlab(30.06, 37.85, 21.19)
CIE-LCHlch(30.06, 43.38, 29.24°)
OKLaboklab(41.17% 0.111 0.0498)
OKLCHoklch(41.17% 0.122 24.2)
XYZxyz(10.0449, 6.2614, 2.6867)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802828 #288080
analogous
#802854 #802828 #805428
triadic
#802828 #288028 #282880
tetradic
#802828 #548028 #288080 #542880
square
#802828 #548028 #288080 #542880
split-complementary
#802828 #288054 #285480
monochromatic
#230B0B #511919 #802828 #AF3737 #CB5858

Accessibility & contrast

On white

9.33
#802828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#802828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802828
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802828#FFFFFF#000000##FFFFFF
##8028281.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B27
Deuteranopia (green-blind)
#564E25
Tritanopia (blue-blind)
#8D1229
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802828;
/* rgb */ color: rgb(128, 40, 40);
/* oklch */ color: oklch(41.2% 0.122 24.2);
Tailwind
colors: {
  custom: {
    50: '#ab6762',
    500: '#802828',
    950: '#000000',
  },
}
SCSS
$custom: #802828;
$custom-light: #ab6762;
$custom-dark: #000000;
JSON
{
  "hex": "#802828",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41167,
    "c": 0.12164,
    "h": 24.2
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#802828
secondary
#54B0B0
accent
#DCDC4C
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #802828

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

Preview Lab → · Contrast checker → · Palette generator →

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