#470C17#470C17

#470C17 is a dark, moderate red. Relative luminance 0.017; OKLCH L 26.6% C 0.088 H 15.3°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#470C17
RGBrgb(71, 12, 23)
HSLhsl(349, 71%, 16%)
HSVhsv(349, 83%, 28%)
CMYKcmyk(0%, 83.1%, 67.6%, 72.2%)
CIE-LABlab(13.62, 28.30, 9.47)
CIE-LCHlch(13.62, 29.84, 18.50°)
OKLaboklab(26.64% 0.0849 0.0232)
OKLCHoklch(26.64% 0.088 15.3)
XYZxyz(2.8850, 1.6648, 0.9799)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C17 #0C473C
analogous
#470C35 #470C17 #471F0C
triadic
#470C17 #17470C #0C1747
tetradic
#470C17 #35470C #0C473C #1F0C47
square
#470C17 #35470C #0C473C #1F0C47
split-complementary
#470C17 #0C471F #0C3547
monochromatic
#1A0408 #1A0408 #470C17 #7B1528 #B01E39

Accessibility & contrast

On white

15.76
#470C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#470C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470C17
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C17#FFFFFF#000000##FFFFFF
##470C171.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #470c17;
/* rgb */ color: rgb(71, 12, 23);
/* oklch */ color: oklch(26.6% 0.088 15.3);
Tailwind
colors: {
  custom: {
    50: '#7f5153',
    500: '#470c17',
    950: '#000000',
  },
}
SCSS
$custom: #470c17;
$custom-light: #7f5153;
$custom-dark: #000000;
JSON
{
  "hex": "#470c17",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 23
  },
  "hsl": {
    "h": 348.814,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26642,
    "c": 0.08795,
    "h": 15.3
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#470C17
secondary
#2C8373
accent
#EECC3A
background
#F8F4F4
surface
#EFE7E7
border
#CAC3C3
text
#0B0202
muted
#7C7878

Preview Lab

Preview with #470C17

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

Preview Lab → · Contrast checker → · Palette generator →

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