#470C18#470C18

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

Color values

HEX#470C18
RGBrgb(71, 12, 24)
HSLhsl(348, 71%, 16%)
HSVhsv(348, 83%, 28%)
CMYKcmyk(0%, 83.1%, 66.2%, 72.2%)
CIE-LABlab(13.64, 28.38, 8.76)
CIE-LCHlch(13.64, 29.70, 17.16°)
OKLaboklab(26.67% 0.0853 0.0216)
OKLCHoklch(26.67% 0.088 14.2)
XYZxyz(2.8952, 1.6689, 1.0337)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C18 #0C473B
analogous
#470C36 #470C18 #471E0C
triadic
#470C18 #18470C #0C1847
tetradic
#470C18 #36470C #0C473B #1E0C47
square
#470C18 #36470C #0C473B #1E0C47
split-complementary
#470C18 #0C471E #0C3647
monochromatic
#1A0409 #1A0409 #470C18 #7B152A #B01E3B

Accessibility & contrast

On white

15.75
#470C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470C18
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C18#FFFFFF#000000##FFFFFF
##470C181.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #470c18;
/* rgb */ color: rgb(71, 12, 24);
/* oklch */ color: oklch(26.7% 0.088 14.2);
Tailwind
colors: {
  custom: {
    50: '#7f5154',
    500: '#470c18',
    950: '#000000',
  },
}
SCSS
$custom: #470c18;
$custom-light: #7f5154;
$custom-dark: #000000;
JSON
{
  "hex": "#470c18",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 24
  },
  "hsl": {
    "h": 347.797,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26668,
    "c": 0.08801,
    "h": 14.2
  },
  "luminance": 0.01668
}

Semantic roles & 50–950 ramp

primary
#470C18
secondary
#2C8371
accent
#EEC93A
background
#F8F4F4
surface
#EFE7E7
border
#CAC3C3
text
#0B0202
muted
#7C7878

Preview Lab

Preview with #470C18

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

Preview Lab → · Contrast checker → · Palette generator →

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