#802731#802731

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

Color values

HEX#802731
RGBrgb(128, 39, 49)
HSLhsl(353, 53%, 33%)
HSVhsv(353, 70%, 50%)
CMYKcmyk(0%, 69.5%, 61.7%, 49.8%)
CIE-LABlab(30.07, 38.91, 15.37)
CIE-LCHlch(30.07, 41.83, 21.55°)
OKLaboklab(41.23% 0.1161 0.0375)
OKLCHoklch(41.23% 0.122 17.9)
XYZxyz(10.1830, 6.2634, 3.5779)
Luminance0.0626 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802731 #278076
analogous
#80275E #802731 #804927
triadic
#802731 #318027 #273180
tetradic
#802731 #5E8027 #278076 #492780
square
#802731 #5E8027 #278076 #492780
split-complementary
#802731 #278049 #275E80
monochromatic
#220A0D #51191F #802731 #AF3543 #CB5663

Accessibility & contrast

On white

9.32
#802731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802731
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802731#FFFFFF#000000##FFFFFF
##8027311.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B31
Deuteranopia (green-blind)
#554E2F
Tritanopia (blue-blind)
#8C132B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802731;
/* rgb */ color: rgb(128, 39, 49);
/* oklch */ color: oklch(41.2% 0.122 17.9);
Tailwind
colors: {
  custom: {
    50: '#aa6768',
    500: '#802731',
    950: '#000000',
  },
}
SCSS
$custom: #802731;
$custom-light: #aa6768;
$custom-dark: #000000;
JSON
{
  "hex": "#802731",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 49
  },
  "hsl": {
    "h": 353.258,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41225,
    "c": 0.12206,
    "h": 17.9
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#802731
secondary
#53B0A6
accent
#DDCC4B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #802731

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

Preview Lab → · Contrast checker → · Palette generator →

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