#47170C#47170C

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

Color values

HEX#47170C
RGBrgb(71, 23, 12)
HSLhsl(11, 71%, 16%)
HSVhsv(11, 83%, 28%)
CMYKcmyk(0%, 67.6%, 83.1%, 72.2%)
CIE-LABlab(15.38, 22.26, 18.31)
CIE-LCHlch(15.38, 28.83, 39.44°)
OKLaboklab(27.89% 0.0632 0.0432)
OKLCHoklch(27.89% 0.077 34.3)
XYZxyz(2.9716, 1.9793, 0.5733)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47170C #0C3C47
analogous
#470C1F #47170C #47350C
triadic
#47170C #0C4717 #170C47
tetradic
#47170C #1F470C #0C3C47 #350C47
square
#47170C #1F470C #0C3C47 #350C47
split-complementary
#47170C #0C4735 #0C1F47
monochromatic
#1A0804 #1A0804 #47170C #7B2815 #B0391E

Accessibility & contrast

On white

15.05
#47170C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47170C
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47170C#FFFFFF#000000##FFFFFF
##47170C1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47170c;
/* rgb */ color: rgb(71, 23, 12);
/* oklch */ color: oklch(27.9% 0.077 34.3);
Tailwind
colors: {
  custom: {
    50: '#7f564c',
    500: '#47170c',
    950: '#000000',
  },
}
SCSS
$custom: #47170c;
$custom-light: #7f564c;
$custom-dark: #000000;
JSON
{
  "hex": "#47170c",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 12
  },
  "hsl": {
    "h": 11.186,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27895,
    "c": 0.07654,
    "h": 34.3
  },
  "luminance": 0.01979
}

Semantic roles & 50–950 ramp

primary
#47170C
secondary
#2C7383
accent
#CCEE3A
background
#F8F5F4
surface
#EFE9E7
border
#CAC5C3
text
#0B0301
muted
#7C7877

Preview Lab

Preview with #47170C

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

Preview Lab → · Contrast checker → · Palette generator →

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