#802F23#802F23

#802F23 is a dark, moderate red. Relative luminance 0.067; OKLCH L 42.0% C 0.115 H 30.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#802F23
RGBrgb(128, 47, 35)
HSLhsl(8, 57%, 32%)
HSVhsv(8, 73%, 50%)
CMYKcmyk(0%, 63.3%, 72.7%, 49.8%)
CIE-LABlab(31.22, 34.25, 25.70)
CIE-LCHlch(31.22, 42.82, 36.88°)
OKLaboklab(42.01% 0.0986 0.0589)
OKLCHoklch(42.01% 0.115 30.9)
XYZxyz(10.2230, 6.7450, 2.3534)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F23 #237480
analogous
#802346 #802F23 #805E23
triadic
#802F23 #23802F #2F2380
tetradic
#802F23 #468023 #237480 #5E2380
square
#802F23 #468023 #237480 #5E2380
split-complementary
#802F23 #23805E #234680
monochromatic
#200C09 #501D16 #802F23 #B04130 #CF5F4F

Accessibility & contrast

On white

8.94
#802F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#802F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F23
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F23#FFFFFF#000000##FFFFFF
##802F231.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E21
Deuteranopia (green-blind)
#595021
Tritanopia (blue-blind)
#8D1D2D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #802f23;
/* rgb */ color: rgb(128, 47, 35);
/* oklch */ color: oklch(42.0% 0.115 30.9);
Tailwind
colors: {
  custom: {
    50: '#ab6b5e',
    500: '#802f23',
    950: '#000000',
  },
}
SCSS
$custom: #802f23;
$custom-light: #ab6b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#802f23",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 35
  },
  "hsl": {
    "h": 7.742,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42012,
    "c": 0.11486,
    "h": 30.9
  },
  "luminance": 0.06744
}

Semantic roles & 50–950 ramp

primary
#802F23
secondary
#4DA5B2
accent
#CDE047
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #802F23

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

Preview Lab → · Contrast checker → · Palette generator →

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