#804138#804138

#804138 is a mid, moderate red. Relative luminance 0.087; OKLCH L 45.2% C 0.089 H 29.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#804138
RGBrgb(128, 65, 56)
HSLhsl(8, 39%, 36%)
HSVhsv(8, 56%, 50%)
CMYKcmyk(0%, 49.2%, 56.3%, 49.8%)
CIE-LABlab(35.31, 26.17, 17.79)
CIE-LCHlch(35.31, 31.64, 34.22°)
OKLaboklab(45.23% 0.0773 0.0437)
OKLCHoklch(45.23% 0.089 29.4)
XYZxyz(11.5070, 8.6565, 4.8055)
Luminance0.0866 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804138 #387780
analogous
#803853 #804138 #806538
triadic
#804138 #388041 #413880
tetradic
#804138 #538038 #387780 #653880
square
#804138 #538038 #387780 #653880
split-complementary
#804138 #388065 #385380
monochromatic
#2B1613 #552B25 #804138 #AB574B #C17B71

Accessibility & contrast

On white

7.69
#804138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#804138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #804138
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804138#FFFFFF#000000##FFFFFF
##8041381.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504B37
Deuteranopia (green-blind)
#605837
Tritanopia (blue-blind)
#8B373F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #804138;
/* rgb */ color: rgb(128, 65, 56);
/* oklch */ color: oklch(45.2% 0.089 29.4);
Tailwind
colors: {
  custom: {
    50: '#a8776e',
    500: '#804138',
    950: '#000000',
  },
}
SCSS
$custom: #804138;
$custom-light: #a8776e;
$custom-dark: #000000;
JSON
{
  "hex": "#804138",
  "rgb": {
    "r": 128,
    "g": 65,
    "b": 56
  },
  "hsl": {
    "h": 7.5,
    "s": 39.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4523,
    "c": 0.08881,
    "h": 29.4
  },
  "luminance": 0.08655
}

Semantic roles & 50–950 ramp

primary
#804138
secondary
#6AA2AA
accent
#C0CF59
background
#FAF7F6
surface
#F4EDEC
border
#CEC8C7
text
#100907
muted
#7F7B7A

Preview Lab

Preview with #804138

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

Preview Lab → · Contrast checker → · Palette generator →

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