#470C04#470C04

#470C04 is a dark, moderate red. Relative luminance 0.016; OKLCH L 26.3% C 0.090 H 31.9°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#470C04
RGBrgb(71, 12, 4)
HSLhsl(7, 89%, 15%)
HSVhsv(7, 94%, 28%)
CMYKcmyk(0%, 83.1%, 94.4%, 72.2%)
CIE-LABlab(13.30, 27.24, 18.91)
CIE-LCHlch(13.30, 33.16, 34.77°)
OKLaboklab(26.3% 0.0766 0.0477)
OKLCHoklch(26.3% 0.09 31.9)
XYZxyz(2.7523, 1.6117, 0.2810)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C04 #043F47
analogous
#47041E #470C04 #472E04
triadic
#470C04 #04470C #0C0447
tetradic
#470C04 #1E4704 #043F47 #2E0447
square
#470C04 #1E4704 #043F47 #2E0447
split-complementary
#470C04 #04472E #041E47
monochromatic
#1D0502 #1D0502 #470C04 #811607 #BB200B

Accessibility & contrast

On white

15.88
#470C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#470C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470C04
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C04#FFFFFF#000000##FFFFFF
##470C041.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1A03
Deuteranopia (green-blind)
#2D2702
Tritanopia (blue-blind)
#4F000B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #470c04;
/* rgb */ color: rgb(71, 12, 4);
/* oklch */ color: oklch(26.3% 0.090 31.9);
Tailwind
colors: {
  custom: {
    50: '#805048',
    500: '#470c04',
    950: '#000000',
  },
}
SCSS
$custom: #470c04;
$custom-light: #805048;
$custom-dark: #000000;
JSON
{
  "hex": "#470c04",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 4
  },
  "hsl": {
    "h": 7.164,
    "s": 89.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26304,
    "c": 0.09024,
    "h": 31.9
  },
  "luminance": 0.01611
}

Semantic roles & 50–950 ramp

primary
#470C04
secondary
#1F7B88
accent
#E5FF29
background
#F8F4F4
surface
#EFE7E6
border
#CAC3C2
text
#0B0200
muted
#7C7877

Preview Lab

Preview with #470C04

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

Preview Lab → · Contrast checker → · Palette generator →

#470C04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva