#802838#802838

#802838 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.5% C 0.121 H 13.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#802838
RGBrgb(128, 40, 56)
HSLhsl(349, 52%, 33%)
HSVhsv(349, 69%, 50%)
CMYKcmyk(0%, 68.8%, 56.3%, 49.8%)
CIE-LABlab(30.38, 39.03, 11.19)
CIE-LCHlch(30.38, 40.60, 16.00°)
OKLaboklab(41.51% 0.1177 0.0281)
OKLCHoklch(41.51% 0.121 13.4)
XYZxyz(10.3756, 6.3937, 4.4284)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802838 #288070
analogous
#802864 #802838 #804428
triadic
#802838 #388028 #283880
tetradic
#802838 #648028 #288070 #442880
square
#802838 #648028 #288070 #442880
split-complementary
#802838 #288044 #286480
monochromatic
#230B0F #511924 #802838 #AF374C #CB586D

Accessibility & contrast

On white

9.22
#802838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#802838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##802838#FFFFFF#000000##FFFFFF
##8028381.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)
#3D3C38
Deuteranopia (green-blind)
#544E36
Tritanopia (blue-blind)
#8C172E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #802838;
/* rgb */ color: rgb(128, 40, 56);
/* oklch */ color: oklch(41.5% 0.121 13.4);
Tailwind
colors: {
  custom: {
    50: '#aa686e',
    500: '#802838',
    950: '#000000',
  },
}
SCSS
$custom: #802838;
$custom-light: #aa686e;
$custom-dark: #000000;
JSON
{
  "hex": "#802838",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 349.091,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41512,
    "c": 0.12102,
    "h": 13.4
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#802838
secondary
#54B09F
accent
#DCC24C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #802838

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

Preview Lab → · Contrast checker → · Palette generator →

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