#470804#470804

#470804 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.9% C 0.094 H 29.8°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#470804
RGBrgb(71, 8, 4)
HSLhsl(4, 89%, 15%)
HSVhsv(4, 94%, 28%)
CMYKcmyk(0%, 88.7%, 94.4%, 72.2%)
CIE-LABlab(12.75, 28.78, 18.18)
CIE-LCHlch(12.75, 34.04, 32.28°)
OKLaboklab(25.89% 0.0814 0.0466)
OKLCHoklch(25.89% 0.094 29.8)
XYZxyz(2.7076, 1.5225, 0.2661)
Luminance0.0152 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470804 #044347
analogous
#470422 #470804 #472A04
triadic
#470804 #044708 #080447
tetradic
#470804 #224704 #044347 #2A0447
square
#470804 #224704 #044347 #2A0447
split-complementary
#470804 #04472A #042247
monochromatic
#1D0302 #1D0302 #470804 #810F07 #BB150B

Accessibility & contrast

On white

16.10
#470804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#470804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470804
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470804#FFFFFF#000000##FFFFFF
##4708041.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1803
Deuteranopia (green-blind)
#2C2602
Tritanopia (blue-blind)
#4F0008
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #470804;
/* rgb */ color: rgb(71, 8, 4);
/* oklch */ color: oklch(25.9% 0.094 29.8);
Tailwind
colors: {
  custom: {
    50: '#804f48',
    500: '#470804',
    950: '#000000',
  },
}
SCSS
$custom: #470804;
$custom-light: #804f48;
$custom-dark: #000000;
JSON
{
  "hex": "#470804",
  "rgb": {
    "r": 71,
    "g": 8,
    "b": 4
  },
  "hsl": {
    "h": 3.582,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25893,
    "c": 0.0938,
    "h": 29.8
  },
  "luminance": 0.01522
}

Semantic roles & 50–950 ramp

primary
#470804
secondary
#1F8188
accent
#F2FF29
background
#F8F4F4
surface
#EFE7E6
border
#CAC3C2
text
#0B0200
muted
#7C7877

Preview Lab

Preview with #470804

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

Preview Lab → · Contrast checker → · Palette generator →

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