#470D12#470D12

#470D12 is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.6% C 0.087 H 20.9°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#470D12
RGBrgb(71, 13, 18)
HSLhsl(355, 69%, 16%)
HSVhsv(355, 82%, 28%)
CMYKcmyk(0%, 81.7%, 74.6%, 72.2%)
CIE-LABlab(13.66, 27.53, 12.90)
CIE-LCHlch(13.66, 30.40, 25.11°)
OKLaboklab(26.64% 0.0812 0.031)
OKLCHoklch(26.64% 0.087 20.9)
XYZxyz(2.8519, 1.6715, 0.7446)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470D12 #0D4742
analogous
#470D2F #470D12 #47250D
triadic
#470D12 #12470D #0D1247
tetradic
#470D12 #2F470D #0D4742 #250D47
square
#470D12 #2F470D #0D4742 #250D47
split-complementary
#470D12 #0D4725 #0D2F47
monochromatic
#1A0507 #1A0507 #470D12 #7B161F #AE202C

Accessibility & contrast

On white

15.74
#470D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#470D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470D12
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470D12#FFFFFF#000000##FFFFFF
##470D121.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1B12
Deuteranopia (green-blind)
#2C2710
Tritanopia (blue-blind)
#4F000F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #470d12;
/* rgb */ color: rgb(71, 13, 18);
/* oklch */ color: oklch(26.6% 0.087 20.9);
Tailwind
colors: {
  custom: {
    50: '#7f514f',
    500: '#470d12',
    950: '#000000',
  },
}
SCSS
$custom: #470d12;
$custom-light: #7f514f;
$custom-dark: #000000;
JSON
{
  "hex": "#470d12",
  "rgb": {
    "r": 71,
    "g": 13,
    "b": 18
  },
  "hsl": {
    "h": 354.828,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26637,
    "c": 0.08694,
    "h": 20.9
  },
  "luminance": 0.01671
}

Semantic roles & 50–950 ramp

primary
#470D12
secondary
#2D827B
accent
#ECDD3C
background
#F8F4F4
surface
#EFE7E7
border
#CAC3C3
text
#0B0202
muted
#7C7878

Preview Lab

Preview with #470D12

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

Preview Lab → · Contrast checker → · Palette generator →

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