#47170E#47170E

#47170E is a dark, moderate red. Relative luminance 0.020; OKLCH L 27.9% C 0.076 H 32.6°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#47170E
RGBrgb(71, 23, 14)
HSLhsl(9, 67%, 17%)
HSVhsv(9, 80%, 28%)
CMYKcmyk(0%, 67.6%, 80.3%, 72.2%)
CIE-LABlab(15.41, 22.37, 17.39)
CIE-LCHlch(15.41, 28.34, 37.86°)
OKLaboklab(27.93% 0.064 0.0409)
OKLCHoklch(27.93% 0.076 32.6)
XYZxyz(2.9845, 1.9845, 0.6413)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47170E #0E3E47
analogous
#470E22 #47170E #47340E
triadic
#47170E #0E4717 #170E47
tetradic
#47170E #22470E #0E3E47 #340E47
square
#47170E #22470E #0E3E47 #340E47
split-complementary
#47170E #0E4734 #0E2247
monochromatic
#1A0805 #1A0805 #47170E #7A2818 #AD3822

Accessibility & contrast

On white

15.03
#47170E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#47170E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47170E
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47170E#FFFFFF#000000##FFFFFF
##47170E1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24200D
Deuteranopia (green-blind)
#302A0D
Tritanopia (blue-blind)
#4F0C15
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #47170e;
/* rgb */ color: rgb(71, 23, 14);
/* oklch */ color: oklch(27.9% 0.076 32.6);
Tailwind
colors: {
  custom: {
    50: '#7f564d',
    500: '#47170e',
    950: '#000000',
  },
}
SCSS
$custom: #47170e;
$custom-light: #7f564d;
$custom-dark: #000000;
JSON
{
  "hex": "#47170e",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 14
  },
  "hsl": {
    "h": 9.474,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27925,
    "c": 0.07597,
    "h": 32.6
  },
  "luminance": 0.01984
}

Semantic roles & 50–950 ramp

primary
#47170E
secondary
#2F7582
accent
#CFEA3E
background
#F8F5F4
surface
#EFE9E7
border
#CAC5C3
text
#0B0301
muted
#7C7877

Preview Lab

Preview with #47170E

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

Preview Lab → · Contrast checker → · Palette generator →

#47170E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva