#801731#801731

#801731 is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.6% C 0.139 H 12.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#801731
RGBrgb(128, 23, 49)
HSLhsl(345, 70%, 30%)
HSVhsv(345, 82%, 50%)
CMYKcmyk(0%, 82%, 61.7%, 49.8%)
CIE-LABlab(27.91, 44.89, 12.50)
CIE-LCHlch(27.91, 46.60, 15.56°)
OKLaboklab(39.63% 0.1353 0.0308)
OKLCHoklch(39.63% 0.139 12.8)
XYZxyz(9.7639, 5.4252, 3.4382)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801731 #178066
analogous
#801766 #801731 #803217
triadic
#801731 #318017 #173180
tetradic
#801731 #668017 #178066 #321780
square
#801731 #668017 #178066 #321780
split-complementary
#801731 #178032 #176680
monochromatic
#1A050A #4C0E1D #801731 #B42045 #DB365F

Accessibility & contrast

On white

10.07
#801731 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#801731 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801731
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801731#FFFFFF#000000##FFFFFF
##8017311.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353431
Deuteranopia (green-blind)
#504A2E
Tritanopia (blue-blind)
#8D0022
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #801731;
/* rgb */ color: rgb(128, 23, 49);
/* oklch */ color: oklch(39.6% 0.139 12.8);
Tailwind
colors: {
  custom: {
    50: '#ab6068',
    500: '#801731',
    950: '#000000',
  },
}
SCSS
$custom: #801731;
$custom-light: #ab6068;
$custom-dark: #000000;
JSON
{
  "hex": "#801731",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 49
  },
  "hsl": {
    "h": 345.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39625,
    "c": 0.13879,
    "h": 12.8
  },
  "luminance": 0.05424
}

Semantic roles & 50–950 ramp

primary
#801731
secondary
#3EB497
accent
#ECC13B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #801731

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

Preview Lab → · Contrast checker → · Palette generator →

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