#47181B#47181B

#47181B is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.3% C 0.072 H 19.1°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#47181B
RGBrgb(71, 24, 27)
HSLhsl(356, 49%, 19%)
HSVhsv(356, 66%, 28%)
CMYKcmyk(0%, 66.2%, 62%, 72.2%)
CIE-LABlab(15.86, 22.81, 9.55)
CIE-LCHlch(15.86, 24.73, 22.72°)
OKLaboklab(28.35% 0.0682 0.0236)
OKLCHoklch(28.35% 0.072 19.1)
XYZxyz(3.1233, 2.0724, 1.2722)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47181B #184744
analogous
#471832 #47181B #472C18
triadic
#47181B #1B4718 #181B47
tetradic
#47181B #324718 #184744 #2C1847
square
#47181B #324718 #184744 #2C1847
split-complementary
#47181B #18472C #183247
monochromatic
#170809 #19090A #47181B #75272C #A2373E

Accessibility & contrast

On white

14.85
#47181B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#47181B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47181B
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47181B#FFFFFF#000000##FFFFFF
##47181B1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23211B
Deuteranopia (green-blind)
#2F2B1A
Tritanopia (blue-blind)
#4E1019
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #47181b;
/* rgb */ color: rgb(71, 24, 27);
/* oklch */ color: oklch(28.3% 0.072 19.1);
Tailwind
colors: {
  custom: {
    50: '#7e5757',
    500: '#47181b',
    950: '#000000',
  },
}
SCSS
$custom: #47181b;
$custom-light: #7e5757;
$custom-dark: #000000;
JSON
{
  "hex": "#47181b",
  "rgb": {
    "r": 71,
    "g": 24,
    "b": 27
  },
  "hsl": {
    "h": 356.17,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28348,
    "c": 0.07215,
    "h": 19.1
  },
  "luminance": 0.02072
}

Semantic roles & 50–950 ramp

primary
#47181B
secondary
#3D7E7A
accent
#D9D04F
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #47181B

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

Preview Lab → · Contrast checker → · Palette generator →

#47181B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva