#802038#802038

#802038 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.6% C 0.131 H 10.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#802038
RGBrgb(128, 32, 56)
HSLhsl(345, 60%, 31%)
HSVhsv(345, 75%, 50%)
CMYKcmyk(0%, 75%, 56.3%, 49.8%)
CIE-LABlab(29.18, 42.34, 9.54)
CIE-LCHlch(29.18, 43.40, 12.70°)
OKLaboklab(40.62% 0.1283 0.0241)
OKLCHoklch(40.62% 0.131 10.7)
XYZxyz(10.1333, 5.9091, 4.3476)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802038 #208068
analogous
#802068 #802038 #803820
triadic
#802038 #388020 #203880
tetradic
#802038 #688020 #208068 #382080
square
#802038 #688020 #208068 #382080
split-complementary
#802038 #208038 #206880
monochromatic
#1E080D #4F1423 #802038 #B12C4D #D1496B

Accessibility & contrast

On white

9.63
#802038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#802038 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802038
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802038#FFFFFF#000000##FFFFFF
##8020381.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383838
Deuteranopia (green-blind)
#514C36
Tritanopia (blue-blind)
#8C082A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #802038;
/* rgb */ color: rgb(128, 32, 56);
/* oklch */ color: oklch(40.6% 0.131 10.7);
Tailwind
colors: {
  custom: {
    50: '#aa646e',
    500: '#802038',
    950: '#000000',
  },
}
SCSS
$custom: #802038;
$custom-light: #aa646e;
$custom-dark: #000000;
JSON
{
  "hex": "#802038",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 56
  },
  "hsl": {
    "h": 345,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40618,
    "c": 0.13055,
    "h": 10.7
  },
  "luminance": 0.05908
}

Semantic roles & 50–950 ramp

primary
#802038
secondary
#49B398
accent
#E3BC45
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #802038

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

Preview Lab → · Contrast checker → · Palette generator →

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