#802F18#802F18

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

Color values

HEX#802F18
RGBrgb(128, 47, 24)
HSLhsl(13, 68%, 30%)
HSVhsv(13, 81%, 50%)
CMYKcmyk(0%, 63.3%, 81.3%, 49.8%)
CIE-LABlab(31.09, 33.73, 31.96)
CIE-LCHlch(31.09, 46.47, 43.45°)
OKLaboklab(41.87% 0.0947 0.0697)
OKLCHoklch(41.87% 0.118 36.4)
XYZxyz(10.0846, 6.6896, 1.6242)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F18 #186980
analogous
#801835 #802F18 #806318
triadic
#802F18 #18802F #2F1880
tetradic
#802F18 #358018 #186980 #631880
square
#802F18 #358018 #186980 #631880
split-complementary
#802F18 #188063 #183580
monochromatic
#1A0905 #4C1C0E #802F18 #B44222 #DA5C39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802F18#FFFFFF#000000##FFFFFF
##802F181.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)
#463E15
Deuteranopia (green-blind)
#5A5015
Tritanopia (blue-blind)
#8D1B2A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #802f18;
/* rgb */ color: rgb(128, 47, 24);
/* oklch */ color: oklch(41.9% 0.118 36.4);
Tailwind
colors: {
  custom: {
    50: '#ac6b56',
    500: '#802f18',
    950: '#000000',
  },
}
SCSS
$custom: #802f18;
$custom-light: #ac6b56;
$custom-dark: #000000;
JSON
{
  "hex": "#802f18",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 13.269,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41872,
    "c": 0.11763,
    "h": 36.4
  },
  "luminance": 0.06688
}

Semantic roles & 50–950 ramp

primary
#802F18
secondary
#409AB4
accent
#C5EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #802F18

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

Preview Lab → · Contrast checker → · Palette generator →

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