#804239#804239

#804239 is a mid, moderate red. Relative luminance 0.088; OKLCH L 45.4% C 0.087 H 29.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#804239
RGBrgb(128, 66, 57)
HSLhsl(8, 38%, 36%)
HSVhsv(8, 55%, 50%)
CMYKcmyk(0%, 48.4%, 55.5%, 49.8%)
CIE-LABlab(35.56, 25.69, 17.50)
CIE-LCHlch(35.56, 31.08, 34.25°)
OKLaboklab(45.43% 0.076 0.043)
OKLCHoklch(45.43% 0.087 29.5)
XYZxyz(11.5897, 8.7822, 4.9549)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804239 #397780
analogous
#803954 #804239 #806639
triadic
#804239 #398042 #423980
tetradic
#804239 #548039 #397780 #663980
square
#804239 #548039 #397780 #663980
split-complementary
#804239 #398066 #395480
monochromatic
#2B1613 #562C26 #804239 #AA584C #C17D73

Accessibility & contrast

On white

7.62
#804239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#804239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #804239
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804239#FFFFFF#000000##FFFFFF
##8042391.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C38
Deuteranopia (green-blind)
#605938
Tritanopia (blue-blind)
#8B3840
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #804239;
/* rgb */ color: rgb(128, 66, 57);
/* oklch */ color: oklch(45.4% 0.087 29.5);
Tailwind
colors: {
  custom: {
    50: '#a8776f',
    500: '#804239',
    950: '#000000',
  },
}
SCSS
$custom: #804239;
$custom-light: #a8776f;
$custom-dark: #000000;
JSON
{
  "hex": "#804239",
  "rgb": {
    "r": 128,
    "g": 66,
    "b": 57
  },
  "hsl": {
    "h": 7.606,
    "s": 38.378,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45425,
    "c": 0.08735,
    "h": 29.5
  },
  "luminance": 0.08781
}

Semantic roles & 50–950 ramp

primary
#804239
secondary
#6BA2AA
accent
#C0CE59
background
#FAF7F6
surface
#F4EDEC
border
#CEC8C7
text
#100907
muted
#7F7B7A

Preview Lab

Preview with #804239

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

Preview Lab → · Contrast checker → · Palette generator →

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