#470817#470817

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

Color values

HEX#470817
RGBrgb(71, 8, 23)
HSLhsl(346, 80%, 15%)
HSVhsv(346, 89%, 28%)
CMYKcmyk(0%, 88.7%, 67.6%, 72.2%)
CIE-LABlab(13.08, 29.81, 8.75)
CIE-LCHlch(13.08, 31.07, 16.35°)
OKLaboklab(26.24% 0.0897 0.0215)
OKLCHoklch(26.24% 0.092 13.5)
XYZxyz(2.8403, 1.5755, 0.9650)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470817 #084738
analogous
#470836 #470817 #471808
triadic
#470817 #174708 #081747
tetradic
#470817 #364708 #084738 #180847
square
#470817 #364708 #084738 #180847
split-complementary
#470817 #084718 #083647
monochromatic
#1C0309 #1C0309 #470817 #7E0E29 #B5143B

Accessibility & contrast

On white

15.97
#470817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#470817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470817
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470817#FFFFFF#000000##FFFFFF
##4708171.0015.971.3215.97
#FFFFFF15.971.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1917
Deuteranopia (green-blind)
#2A2615
Tritanopia (blue-blind)
#4F000E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #470817;
/* rgb */ color: rgb(71, 8, 23);
/* oklch */ color: oklch(26.2% 0.092 13.5);
Tailwind
colors: {
  custom: {
    50: '#7f4f53',
    500: '#470817',
    950: '#000000',
  },
}
SCSS
$custom: #470817;
$custom-light: #7f4f53;
$custom-dark: #000000;
JSON
{
  "hex": "#470817",
  "rgb": {
    "r": 71,
    "g": 8,
    "b": 23
  },
  "hsl": {
    "h": 345.714,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26243,
    "c": 0.09227,
    "h": 13.5
  },
  "luminance": 0.01575
}

Semantic roles & 50–950 ramp

primary
#470817
secondary
#26856E
accent
#F6C732
background
#F8F4F4
surface
#EFE7E7
border
#CAC3C3
text
#0B0202
muted
#7C7878

Preview Lab

Preview with #470817

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

Preview Lab → · Contrast checker → · Palette generator →

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