#470512#470512

#470512 is a dark, moderate red. Relative luminance 0.015; OKLCH L 25.8% C 0.095 H 17.0°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#470512
RGBrgb(71, 5, 18)
HSLhsl(348, 87%, 15%)
HSVhsv(348, 93%, 28%)
CMYKcmyk(0%, 93%, 74.6%, 72.2%)
CIE-LABlab(12.56, 30.63, 11.43)
CIE-LCHlch(12.56, 32.69, 20.46°)
OKLaboklab(25.82% 0.0912 0.0279)
OKLCHoklch(25.82% 0.095 17)
XYZxyz(2.7623, 1.4922, 0.7147)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470512 #05473A
analogous
#470533 #470512 #471905
triadic
#470512 #124705 #051247
tetradic
#470512 #334705 #05473A #190547
square
#470512 #334705 #05473A #190547
split-complementary
#470512 #054719 #053347
monochromatic
#1D0207 #1D0207 #470512 #800920 #B90D2F

Accessibility & contrast

On white

16.17
#470512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#470512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470512
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470512#FFFFFF#000000##FFFFFF
##4705121.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191812
Deuteranopia (green-blind)
#2A2610
Tritanopia (blue-blind)
#4F000A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #470512;
/* rgb */ color: rgb(71, 5, 18);
/* oklch */ color: oklch(25.8% 0.095 17.0);
Tailwind
colors: {
  custom: {
    50: '#804e4f',
    500: '#470512',
    950: '#000000',
  },
}
SCSS
$custom: #470512;
$custom-light: #804e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#470512",
  "rgb": {
    "r": 71,
    "g": 5,
    "b": 18
  },
  "hsl": {
    "h": 348.182,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25822,
    "c": 0.09533,
    "h": 17
  },
  "luminance": 0.01492
}

Semantic roles & 50–950 ramp

primary
#470512
secondary
#218773
accent
#FDD42B
background
#F8F4F4
surface
#EFE7E7
border
#CAC3C3
text
#0B0202
muted
#7C7878

Preview Lab

Preview with #470512

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

Preview Lab → · Contrast checker → · Palette generator →

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