#470C12#470C12

#470C12 is a dark, moderate red. Relative luminance 0.016; OKLCH L 26.5% C 0.088 H 20.3°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#470C12
RGBrgb(71, 12, 18)
HSLhsl(354, 71%, 16%)
HSVhsv(354, 83%, 28%)
CMYKcmyk(0%, 83.1%, 74.6%, 72.2%)
CIE-LABlab(13.51, 27.94, 12.70)
CIE-LCHlch(13.51, 30.69, 24.45°)
OKLaboklab(26.53% 0.0825 0.0306)
OKLCHoklch(26.53% 0.088 20.3)
XYZxyz(2.8395, 1.6466, 0.7405)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C12 #0C4741
analogous
#470C30 #470C12 #47240C
triadic
#470C12 #12470C #0C1247
tetradic
#470C12 #30470C #0C4741 #240C47
square
#470C12 #30470C #0C4741 #240C47
split-complementary
#470C12 #0C4724 #0C3047
monochromatic
#1A0407 #1A0407 #470C12 #7B151F #B01E2D

Accessibility & contrast

On white

15.80
#470C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470C12
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C12#FFFFFF#000000##FFFFFF
##470C121.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1B12
Deuteranopia (green-blind)
#2C2710
Tritanopia (blue-blind)
#4F000F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #470c12;
/* rgb */ color: rgb(71, 12, 18);
/* oklch */ color: oklch(26.5% 0.088 20.3);
Tailwind
colors: {
  custom: {
    50: '#7f504f',
    500: '#470c12',
    950: '#000000',
  },
}
SCSS
$custom: #470c12;
$custom-light: #7f504f;
$custom-dark: #000000;
JSON
{
  "hex": "#470c12",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 18
  },
  "hsl": {
    "h": 353.898,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26527,
    "c": 0.08802,
    "h": 20.3
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#470C12
secondary
#2C837A
accent
#EEDC3A
background
#F8F4F4
surface
#EFE7E7
border
#CAC3C3
text
#0B0202
muted
#7C7878

Preview Lab

Preview with #470C12

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

Preview Lab → · Contrast checker → · Palette generator →

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