#47170A#47170A

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

Color values

HEX#47170A
RGBrgb(71, 23, 10)
HSLhsl(13, 75%, 16%)
HSVhsv(13, 86%, 28%)
CMYKcmyk(0%, 67.6%, 85.9%, 72.2%)
CIE-LABlab(15.35, 22.16, 19.14)
CIE-LCHlch(15.35, 29.29, 40.82°)
OKLaboklab(27.87% 0.0625 0.0453)
OKLCHoklch(27.87% 0.077 35.9)
XYZxyz(2.9600, 1.9747, 0.5124)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47170A #0A3A47
analogous
#470A1B #47170A #47350A
triadic
#47170A #0A4717 #170A47
tetradic
#47170A #1B470A #0A3A47 #350A47
square
#47170A #1B470A #0A3A47 #350A47
split-complementary
#47170A #0A4735 #0A1B47
monochromatic
#1B0904 #1B0904 #47170A #7D2812 #B23A19

Accessibility & contrast

On white

15.06
#47170A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#47170A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47170A
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47170A#FFFFFF#000000##FFFFFF
##47170A1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242008
Deuteranopia (green-blind)
#302A08
Tritanopia (blue-blind)
#4F0B14
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #47170a;
/* rgb */ color: rgb(71, 23, 10);
/* oklch */ color: oklch(27.9% 0.077 35.9);
Tailwind
colors: {
  custom: {
    50: '#7f564b',
    500: '#47170a',
    950: '#000000',
  },
}
SCSS
$custom: #47170a;
$custom-light: #7f564b;
$custom-dark: #000000;
JSON
{
  "hex": "#47170a",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 10
  },
  "hsl": {
    "h": 12.787,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27869,
    "c": 0.07713,
    "h": 35.9
  },
  "luminance": 0.01974
}

Semantic roles & 50–950 ramp

primary
#47170A
secondary
#297184
accent
#CAF236
background
#F8F5F4
surface
#EFE9E7
border
#CAC5C3
text
#0B0301
muted
#7C7877

Preview Lab

Preview with #47170A

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

Preview Lab → · Contrast checker → · Palette generator →

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