#802A28#802A28

#802A28 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.4% C 0.119 H 25.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#802A28
RGBrgb(128, 42, 40)
HSLhsl(1, 52%, 33%)
HSVhsv(1, 69%, 50%)
CMYKcmyk(0%, 67.2%, 68.8%, 49.8%)
CIE-LABlab(30.40, 36.94, 21.61)
CIE-LCHlch(30.40, 42.80, 30.32°)
OKLaboklab(41.42% 0.1081 0.0508)
OKLCHoklch(41.42% 0.119 25.2)
XYZxyz(10.1141, 6.3997, 2.7098)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A28 #287E80
analogous
#802852 #802A28 #805628
triadic
#802A28 #28802A #2A2880
tetradic
#802A28 #528028 #287E80 #562880
square
#802A28 #528028 #287E80 #562880
split-complementary
#802A28 #288056 #285280
monochromatic
#230B0B #511B19 #802A28 #AF3937 #CB5A58

Accessibility & contrast

On white

9.21
#802A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#802A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A28
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A28#FFFFFF#000000##FFFFFF
##802A281.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C27
Deuteranopia (green-blind)
#574E26
Tritanopia (blue-blind)
#8D152A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #802a28;
/* rgb */ color: rgb(128, 42, 40);
/* oklch */ color: oklch(41.4% 0.119 25.2);
Tailwind
colors: {
  custom: {
    50: '#ab6862',
    500: '#802a28',
    950: '#000000',
  },
}
SCSS
$custom: #802a28;
$custom-light: #ab6862;
$custom-dark: #000000;
JSON
{
  "hex": "#802a28",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 40
  },
  "hsl": {
    "h": 1.364,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41419,
    "c": 0.1194,
    "h": 25.2
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#802A28
secondary
#54AEB0
accent
#D9DC4C
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #802A28

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

Preview Lab → · Contrast checker → · Palette generator →

#802A28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva