#470D17#470D17

#470D17 is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.8% C 0.087 H 15.8°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#470D17
RGBrgb(71, 13, 23)
HSLhsl(350, 69%, 16%)
HSVhsv(350, 82%, 28%)
CMYKcmyk(0%, 81.7%, 67.6%, 72.2%)
CIE-LABlab(13.77, 27.89, 9.66)
CIE-LCHlch(13.77, 29.52, 19.11°)
OKLaboklab(26.75% 0.0835 0.0236)
OKLCHoklch(26.75% 0.087 15.8)
XYZxyz(2.8974, 1.6897, 0.9840)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470D17 #0D473D
analogous
#470D34 #470D17 #47200D
triadic
#470D17 #17470D #0D1747
tetradic
#470D17 #34470D #0D473D #200D47
square
#470D17 #34470D #0D473D #200D47
split-complementary
#470D17 #0D4720 #0D3447
monochromatic
#1A0508 #1A0508 #470D17 #7B1628 #AE2039

Accessibility & contrast

On white

15.70
#470D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#470D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470D17
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470D17#FFFFFF#000000##FFFFFF
##470D171.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1B17
Deuteranopia (green-blind)
#2B2815
Tritanopia (blue-blind)
#4F0011
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #470d17;
/* rgb */ color: rgb(71, 13, 23);
/* oklch */ color: oklch(26.8% 0.087 15.8);
Tailwind
colors: {
  custom: {
    50: '#7f5153',
    500: '#470d17',
    950: '#000000',
  },
}
SCSS
$custom: #470d17;
$custom-light: #7f5153;
$custom-dark: #000000;
JSON
{
  "hex": "#470d17",
  "rgb": {
    "r": 71,
    "g": 13,
    "b": 23
  },
  "hsl": {
    "h": 349.655,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26751,
    "c": 0.08681,
    "h": 15.8
  },
  "luminance": 0.01689
}

Semantic roles & 50–950 ramp

primary
#470D17
secondary
#2D8274
accent
#ECCE3C
background
#F8F4F4
surface
#EFE7E7
border
#CAC3C3
text
#0B0202
muted
#7C7878

Preview Lab

Preview with #470D17

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

Preview Lab → · Contrast checker → · Palette generator →

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