#802B40#802B40

#802B40 is a dark, moderate red. Relative luminance 0.067; OKLCH L 42.1% C 0.118 H 8.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#802B40
RGBrgb(128, 43, 64)
HSLhsl(345, 50%, 34%)
HSVhsv(345, 66%, 50%)
CMYKcmyk(0%, 66.4%, 50%, 49.8%)
CIE-LABlab(31.09, 38.41, 6.91)
CIE-LCHlch(31.09, 39.02, 10.19°)
OKLaboklab(42.1% 0.1167 0.0179)
OKLCHoklch(42.1% 0.118 8.7)
XYZxyz(10.6922, 6.6884, 5.5774)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B40 #2B806B
analogous
#802B6A #802B40 #80402B
triadic
#802B40 #40802B #2B4080
tetradic
#802B40 #6A802B #2B806B #402B80
square
#802B40 #6A802B #2B806B #402B80
split-complementary
#802B40 #2B8040 #2B6A80
monochromatic
#240C12 #521C29 #802B40 #AE3A57 #C95D77

Accessibility & contrast

On white

8.98
#802B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#802B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802B40
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B40#FFFFFF#000000##FFFFFF
##802B401.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3E40
Deuteranopia (green-blind)
#544F3E
Tritanopia (blue-blind)
#8B1E33
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #802b40;
/* rgb */ color: rgb(128, 43, 64);
/* oklch */ color: oklch(42.1% 0.118 8.7);
Tailwind
colors: {
  custom: {
    50: '#a96a74',
    500: '#802b40',
    950: '#000000',
  },
}
SCSS
$custom: #802b40;
$custom-light: #a96a74;
$custom-dark: #000000;
JSON
{
  "hex": "#802b40",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 64
  },
  "hsl": {
    "h": 345.176,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42101,
    "c": 0.11808,
    "h": 8.7
  },
  "luminance": 0.06687
}

Semantic roles & 50–950 ramp

primary
#802B40
secondary
#58AE99
accent
#D9B74F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #802B40

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

Preview Lab → · Contrast checker → · Palette generator →

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