#802D40#802D40

#802D40 is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.4% C 0.115 H 9.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#802D40
RGBrgb(128, 45, 64)
HSLhsl(346, 48%, 34%)
HSVhsv(346, 65%, 50%)
CMYKcmyk(0%, 64.8%, 50%, 49.8%)
CIE-LABlab(31.43, 37.47, 7.40)
CIE-LCHlch(31.43, 38.19, 11.17°)
OKLaboklab(42.36% 0.1138 0.0191)
OKLCHoklch(42.36% 0.115 9.5)
XYZxyz(10.7667, 6.8375, 5.6023)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802D40 #2D806D
analogous
#802D6A #802D40 #80442D
triadic
#802D40 #40802D #2D4080
tetradic
#802D40 #6A802D #2D806D #442D80
square
#802D40 #6A802D #2D806D #442D80
split-complementary
#802D40 #2D8044 #2D6A80
monochromatic
#250D13 #531D29 #802D40 #AD3D57 #C76078

Accessibility & contrast

On white

8.87
#802D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#802D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802D40
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802D40#FFFFFF#000000##FFFFFF
##802D401.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3F40
Deuteranopia (green-blind)
#55503E
Tritanopia (blue-blind)
#8B2134
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802d40;
/* rgb */ color: rgb(128, 45, 64);
/* oklch */ color: oklch(42.4% 0.115 9.5);
Tailwind
colors: {
  custom: {
    50: '#a96b74',
    500: '#802d40',
    950: '#000000',
  },
}
SCSS
$custom: #802d40;
$custom-light: #a96b74;
$custom-dark: #000000;
JSON
{
  "hex": "#802d40",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 64
  },
  "hsl": {
    "h": 346.265,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4236,
    "c": 0.11534,
    "h": 9.5
  },
  "luminance": 0.06836
}

Semantic roles & 50–950 ramp

primary
#802D40
secondary
#5BAE9B
accent
#D8B950
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #802D40

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

Preview Lab → · Contrast checker → · Palette generator →

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