#470812#470812

#470812 is a dark, moderate red. Relative luminance 0.016; OKLCH L 26.1% C 0.092 H 18.4°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#470812
RGBrgb(71, 8, 18)
HSLhsl(350, 80%, 15%)
HSVhsv(350, 89%, 28%)
CMYKcmyk(0%, 88.7%, 74.6%, 72.2%)
CIE-LABlab(12.97, 29.46, 11.98)
CIE-LCHlch(12.97, 31.81, 22.13°)
OKLaboklab(26.12% 0.0874 0.0291)
OKLCHoklch(26.12% 0.092 18.4)
XYZxyz(2.7949, 1.5574, 0.7256)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470812 #08473D
analogous
#470831 #470812 #471D08
triadic
#470812 #124708 #081247
tetradic
#470812 #314708 #08473D #1D0847
square
#470812 #314708 #08473D #1D0847
split-complementary
#470812 #08471D #083147
monochromatic
#1C0307 #1C0307 #470812 #7E0E20 #B5142E

Accessibility & contrast

On white

16.01
#470812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#470812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470812
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470812#FFFFFF#000000##FFFFFF
##4708121.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1912
Deuteranopia (green-blind)
#2B2610
Tritanopia (blue-blind)
#4F000C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #470812;
/* rgb */ color: rgb(71, 8, 18);
/* oklch */ color: oklch(26.1% 0.092 18.4);
Tailwind
colors: {
  custom: {
    50: '#804f4f',
    500: '#470812',
    950: '#000000',
  },
}
SCSS
$custom: #470812;
$custom-light: #804f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#470812",
  "rgb": {
    "r": 71,
    "g": 8,
    "b": 18
  },
  "hsl": {
    "h": 350.476,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26124,
    "c": 0.09212,
    "h": 18.4
  },
  "luminance": 0.01557
}

Semantic roles & 50–950 ramp

primary
#470812
secondary
#268576
accent
#F6D732
background
#F8F4F4
surface
#EFE7E7
border
#CAC3C3
text
#0B0202
muted
#7C7878

Preview Lab

Preview with #470812

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

Preview Lab → · Contrast checker → · Palette generator →

#470812 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva