#470F17#470F17

#470F17 is a dark, moderate red. Relative luminance 0.017; OKLCH L 27.0% C 0.084 H 16.9°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#470F17
RGBrgb(71, 15, 23)
HSLhsl(351, 65%, 17%)
HSVhsv(351, 79%, 28%)
CMYKcmyk(0%, 78.9%, 67.6%, 72.2%)
CIE-LABlab(14.08, 27.02, 10.07)
CIE-LCHlch(14.08, 28.84, 20.45°)
OKLaboklab(26.98% 0.0808 0.0246)
OKLCHoklch(26.98% 0.084 16.9)
XYZxyz(2.9243, 1.7435, 0.9930)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F17 #0F473F
analogous
#470F33 #470F17 #47230F
triadic
#470F17 #17470F #0F1747
tetradic
#470F17 #33470F #0F473F #230F47
square
#470F17 #33470F #0F473F #230F47
split-complementary
#470F17 #0F4723 #0F3347
monochromatic
#190508 #190508 #470F17 #7A1A27 #AC2438

Accessibility & contrast

On white

15.57
#470F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#470F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470F17
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F17#FFFFFF#000000##FFFFFF
##470F171.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1C17
Deuteranopia (green-blind)
#2C2816
Tritanopia (blue-blind)
#4F0312
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #470f17;
/* rgb */ color: rgb(71, 15, 23);
/* oklch */ color: oklch(27.0% 0.084 16.9);
Tailwind
colors: {
  custom: {
    50: '#7f5253',
    500: '#470f17',
    950: '#000000',
  },
}
SCSS
$custom: #470f17;
$custom-light: #7f5253;
$custom-dark: #000000;
JSON
{
  "hex": "#470f17",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 23
  },
  "hsl": {
    "h": 351.429,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26984,
    "c": 0.08442,
    "h": 16.9
  },
  "luminance": 0.01743
}

Semantic roles & 50–950 ramp

primary
#470F17
secondary
#308176
accent
#E8D040
background
#F8F4F4
surface
#EFE7E7
border
#CAC3C3
text
#0B0202
muted
#7C7878

Preview Lab

Preview with #470F17

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

Preview Lab → · Contrast checker → · Palette generator →

#470F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva