#470C1A#470C1A

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

Color values

HEX#470C1A
RGBrgb(71, 12, 26)
HSLhsl(346, 71%, 16%)
HSVhsv(346, 83%, 28%)
CMYKcmyk(0%, 83.1%, 63.4%, 72.2%)
CIE-LABlab(13.69, 28.54, 7.35)
CIE-LCHlch(13.69, 29.48, 14.44°)
OKLaboklab(26.72% 0.0862 0.0184)
OKLCHoklch(26.72% 0.088 12)
XYZxyz(2.9167, 1.6775, 1.1473)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C1A #0C4739
analogous
#470C38 #470C1A #471C0C
triadic
#470C1A #1A470C #0C1A47
tetradic
#470C1A #38470C #0C4739 #1C0C47
square
#470C1A #38470C #0C4739 #1C0C47
split-complementary
#470C1A #0C471C #0C3847
monochromatic
#1A040A #1A040A #470C1A #7B152D #B01E40

Accessibility & contrast

On white

15.73
#470C1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470C1A
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C1A#FFFFFF#000000##FFFFFF
##470C1A1.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1B1A
Deuteranopia (green-blind)
#2B2718
Tritanopia (blue-blind)
#4E0012
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #470c1a;
/* rgb */ color: rgb(71, 12, 26);
/* oklch */ color: oklch(26.7% 0.088 12.0);
Tailwind
colors: {
  custom: {
    50: '#7f5156',
    500: '#470c1a',
    950: '#000000',
  },
}
SCSS
$custom: #470c1a;
$custom-light: #7f5156;
$custom-dark: #000000;
JSON
{
  "hex": "#470c1a",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 26
  },
  "hsl": {
    "h": 345.763,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26722,
    "c": 0.08818,
    "h": 12
  },
  "luminance": 0.01677
}

Semantic roles & 50–950 ramp

primary
#470C1A
secondary
#2C836E
accent
#EEC33A
background
#F8F4F5
surface
#EFE7E8
border
#CAC3C4
text
#0B0203
muted
#7C7878

Preview Lab

Preview with #470C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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