#802837#802837

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

Color values

HEX#802837
RGBrgb(128, 40, 55)
HSLhsl(350, 52%, 33%)
HSVhsv(350, 69%, 50%)
CMYKcmyk(0%, 68.8%, 57%, 49.8%)
CIE-LABlab(30.36, 38.94, 11.82)
CIE-LCHlch(30.36, 40.70, 16.89°)
OKLaboklab(41.49% 0.1173 0.0296)
OKLCHoklch(41.49% 0.121 14.1)
XYZxyz(10.3514, 6.3840, 4.3008)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802837 #288071
analogous
#802863 #802837 #804528
triadic
#802837 #378028 #283780
tetradic
#802837 #638028 #288071 #452880
square
#802837 #638028 #288071 #452880
split-complementary
#802837 #288045 #286380
monochromatic
#230B0F #511923 #802837 #AF374B #CB586B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802837#FFFFFF#000000##FFFFFF
##8028371.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)
#3D3C37
Deuteranopia (green-blind)
#544E35
Tritanopia (blue-blind)
#8C172E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802837;
/* rgb */ color: rgb(128, 40, 55);
/* oklch */ color: oklch(41.5% 0.121 14.1);
Tailwind
colors: {
  custom: {
    50: '#aa686d',
    500: '#802837',
    950: '#000000',
  },
}
SCSS
$custom: #802837;
$custom-light: #aa686d;
$custom-dark: #000000;
JSON
{
  "hex": "#802837",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 349.773,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41487,
    "c": 0.12096,
    "h": 14.1
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#802837
secondary
#54B0A0
accent
#DCC34C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #802837

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

Preview Lab → · Contrast checker → · Palette generator →

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