#47170F#47170F

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

Color values

HEX#47170F
RGBrgb(71, 23, 15)
HSLhsl(9, 65%, 17%)
HSVhsv(9, 79%, 28%)
CMYKcmyk(0%, 67.6%, 78.9%, 72.2%)
CIE-LABlab(15.42, 22.43, 16.89)
CIE-LCHlch(15.42, 28.08, 36.98°)
OKLaboklab(27.94% 0.0644 0.0397)
OKLCHoklch(27.94% 0.076 31.7)
XYZxyz(2.9915, 1.9873, 0.6779)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47170F #0F3F47
analogous
#470F23 #47170F #47330F
triadic
#47170F #0F4717 #170F47
tetradic
#47170F #23470F #0F3F47 #330F47
square
#47170F #23470F #0F3F47 #330F47
split-complementary
#47170F #0F4733 #0F2347
monochromatic
#190805 #190805 #47170F #7A271A #AC3824

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47170F#FFFFFF#000000##FFFFFF
##47170F1.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)
#24200E
Deuteranopia (green-blind)
#302A0E
Tritanopia (blue-blind)
#4F0C15
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #47170f;
/* rgb */ color: rgb(71, 23, 15);
/* oklch */ color: oklch(27.9% 0.076 31.7);
Tailwind
colors: {
  custom: {
    50: '#7f564e',
    500: '#47170f',
    950: '#000000',
  },
}
SCSS
$custom: #47170f;
$custom-light: #7f564e;
$custom-dark: #000000;
JSON
{
  "hex": "#47170f",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 8.571,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2794,
    "c": 0.07569,
    "h": 31.7
  },
  "luminance": 0.01987
}

Semantic roles & 50–950 ramp

primary
#47170F
secondary
#307681
accent
#D0E840
background
#F8F5F4
surface
#EFE9E7
border
#CAC5C3
text
#0B0301
muted
#7C7877

Preview Lab

Preview with #47170F

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

Preview Lab → · Contrast checker → · Palette generator →

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