#47170D#47170D

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

Color values

HEX#47170D
RGBrgb(71, 23, 13)
HSLhsl(10, 69%, 16%)
HSVhsv(10, 82%, 28%)
CMYKcmyk(0%, 67.6%, 81.7%, 72.2%)
CIE-LABlab(15.39, 22.32, 17.86)
CIE-LCHlch(15.39, 28.59, 38.68°)
OKLaboklab(27.91% 0.0636 0.0421)
OKLCHoklch(27.91% 0.076 33.5)
XYZxyz(2.9779, 1.9819, 0.6064)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47170D #0D3D47
analogous
#470D20 #47170D #47340D
triadic
#47170D #0D4717 #170D47
tetradic
#47170D #20470D #0D3D47 #340D47
square
#47170D #20470D #0D3D47 #340D47
split-complementary
#47170D #0D4734 #0D2047
monochromatic
#1A0805 #1A0805 #47170D #7B2816 #AE3920

Accessibility & contrast

On white

15.04
#47170D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47170D
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47170D#FFFFFF#000000##FFFFFF
##47170D1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24200C
Deuteranopia (green-blind)
#302A0C
Tritanopia (blue-blind)
#4F0C15
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #47170d;
/* rgb */ color: rgb(71, 23, 13);
/* oklch */ color: oklch(27.9% 0.076 33.5);
Tailwind
colors: {
  custom: {
    50: '#7f564c',
    500: '#47170d',
    950: '#000000',
  },
}
SCSS
$custom: #47170d;
$custom-light: #7f564c;
$custom-dark: #000000;
JSON
{
  "hex": "#47170d",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 13
  },
  "hsl": {
    "h": 10.345,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2791,
    "c": 0.07626,
    "h": 33.5
  },
  "luminance": 0.01981
}

Semantic roles & 50–950 ramp

primary
#47170D
secondary
#2D7482
accent
#CEEC3C
background
#F8F5F4
surface
#EFE9E7
border
#CAC5C3
text
#0B0301
muted
#7C7877

Preview Lab

Preview with #47170D

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

Preview Lab → · Contrast checker → · Palette generator →

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