#802A27#802A27

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

Color values

HEX#802A27
RGBrgb(128, 42, 39)
HSLhsl(2, 53%, 33%)
HSVhsv(2, 70%, 50%)
CMYKcmyk(0%, 67.2%, 69.5%, 49.8%)
CIE-LABlab(30.38, 36.88, 22.22)
CIE-LCHlch(30.38, 43.06, 31.07°)
OKLaboklab(41.4% 0.1077 0.052)
OKLCHoklch(41.4% 0.12 25.8)
XYZxyz(10.0973, 6.3930, 2.6213)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A27 #277D80
analogous
#802751 #802A27 #805627
triadic
#802A27 #27802A #2A2780
tetradic
#802A27 #518027 #277D80 #562780
square
#802A27 #518027 #277D80 #562780
split-complementary
#802A27 #278056 #275180
monochromatic
#220B0A #511B19 #802A27 #AF3935 #CB5A56

Accessibility & contrast

On white

9.22
#802A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802A27
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A27#FFFFFF#000000##FFFFFF
##802A271.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802a27;
/* rgb */ color: rgb(128, 42, 39);
/* oklch */ color: oklch(41.4% 0.120 25.8);
Tailwind
colors: {
  custom: {
    50: '#ab6861',
    500: '#802a27',
    950: '#000000',
  },
}
SCSS
$custom: #802a27;
$custom-light: #ab6861;
$custom-dark: #000000;
JSON
{
  "hex": "#802a27",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 39
  },
  "hsl": {
    "h": 2.022,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41402,
    "c": 0.11957,
    "h": 25.8
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#802A27
secondary
#53ADB0
accent
#D8DD4B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #802A27

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

Preview Lab → · Contrast checker → · Palette generator →

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