#804231#804231

#804231 is a mid, moderate red. Relative luminance 0.087; OKLCH L 45.3% C 0.090 H 36.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#804231
RGBrgb(128, 66, 49)
HSLhsl(13, 45%, 35%)
HSVhsv(13, 62%, 50%)
CMYKcmyk(0%, 48.4%, 61.7%, 49.8%)
CIE-LABlab(35.42, 25.00, 22.25)
CIE-LCHlch(35.42, 33.46, 41.67°)
OKLaboklab(45.27% 0.0726 0.0533)
OKLCHoklch(45.27% 0.09 36.3)
XYZxyz(11.4056, 8.7086, 3.9854)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804231 #316F80
analogous
#803148 #804231 #806931
triadic
#804231 #318042 #423180
tetradic
#804231 #488031 #316F80 #693180
square
#804231 #488031 #316F80 #693180
split-complementary
#804231 #318069 #314880
monochromatic
#27140F #542B20 #804231 #AC5942 #C57B67

Accessibility & contrast

On white

7.66
#804231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#804231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #804231
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804231#FFFFFF#000000##FFFFFF
##8042311.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#615830
Tritanopia (blue-blind)
#8C373E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #804231;
/* rgb */ color: rgb(128, 66, 49);
/* oklch */ color: oklch(45.3% 0.090 36.3);
Tailwind
colors: {
  custom: {
    50: '#a97769',
    500: '#804231',
    950: '#000000',
  },
}
SCSS
$custom: #804231;
$custom-light: #a97769;
$custom-dark: #000000;
JSON
{
  "hex": "#804231",
  "rgb": {
    "r": 128,
    "g": 66,
    "b": 49
  },
  "hsl": {
    "h": 12.911,
    "s": 44.633,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45268,
    "c": 0.09004,
    "h": 36.3
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

primary
#804231
secondary
#619CAC
accent
#B9D453
background
#FAF7F6
surface
#F4EDEB
border
#CEC8C6
text
#100906
muted
#7F7B7A

Preview Lab

Preview with #804231

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

Preview Lab → · Contrast checker → · Palette generator →

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