#802E42#802E42

#802E42 is a dark, moderate red. Relative luminance 0.069; OKLCH L 42.5% C 0.114 H 8.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#802E42
RGBrgb(128, 46, 66)
HSLhsl(345, 47%, 34%)
HSVhsv(345, 64%, 50%)
CMYKcmyk(0%, 64.1%, 48.4%, 49.8%)
CIE-LABlab(31.66, 37.20, 6.41)
CIE-LCHlch(31.66, 37.75, 9.78°)
OKLaboklab(42.55% 0.1131 0.0167)
OKLCHoklch(42.55% 0.114 8.4)
XYZxyz(10.8633, 6.9378, 5.9203)
Luminance0.0694 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E42 #2E806C
analogous
#802E6B #802E42 #80432E
triadic
#802E42 #42802E #2E4280
tetradic
#802E42 #6B802E #2E806C #432E80
square
#802E42 #6B802E #2E806C #432E80
split-complementary
#802E42 #2E8043 #2E6B80
monochromatic
#260E14 #531E2B #802E42 #AD3E59 #C7627A

Accessibility & contrast

On white

8.80
#802E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#802E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802E42
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E42#FFFFFF#000000##FFFFFF
##802E421.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4042
Deuteranopia (green-blind)
#555140
Tritanopia (blue-blind)
#8B2336
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802e42;
/* rgb */ color: rgb(128, 46, 66);
/* oklch */ color: oklch(42.5% 0.114 8.4);
Tailwind
colors: {
  custom: {
    50: '#a96b76',
    500: '#802e42',
    950: '#000000',
  },
}
SCSS
$custom: #802e42;
$custom-light: #a96b76;
$custom-dark: #000000;
JSON
{
  "hex": "#802e42",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 66
  },
  "hsl": {
    "h": 345.366,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4255,
    "c": 0.11429,
    "h": 8.4
  },
  "luminance": 0.06937
}

Semantic roles & 50–950 ramp

primary
#802E42
secondary
#5DAD9A
accent
#D7B651
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #802E42

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

Preview Lab → · Contrast checker → · Palette generator →

#802E42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva