#47161F#47161F

#47161F is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.1% C 0.075 H 12.2°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#47161F
RGBrgb(71, 22, 31)
HSLhsl(349, 53%, 18%)
HSVhsv(349, 69%, 28%)
CMYKcmyk(0%, 69%, 56.3%, 72.2%)
CIE-LABlab(15.55, 24.31, 6.25)
CIE-LCHlch(15.55, 25.10, 14.42°)
OKLaboklab(28.15% 0.0735 0.0159)
OKLCHoklch(28.15% 0.075 12.2)
XYZxyz(3.1330, 2.0127, 1.5196)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47161F #16473E
analogous
#471637 #47161F #472516
triadic
#47161F #1F4716 #161F47
tetradic
#47161F #374716 #16473E #251647
square
#47161F #374716 #16473E #251647
split-complementary
#47161F #164725 #163747
monochromatic
#17070A #18080B #47161F #762433 #A43348

Accessibility & contrast

On white

14.97
#47161F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#47161F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47161F
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47161F#FFFFFF#000000##FFFFFF
##47161F1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21211F
Deuteranopia (green-blind)
#2E2B1E
Tritanopia (blue-blind)
#4E0E19
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #47161f;
/* rgb */ color: rgb(71, 22, 31);
/* oklch */ color: oklch(28.1% 0.075 12.2);
Tailwind
colors: {
  custom: {
    50: '#7e565a',
    500: '#47161f',
    950: '#000000',
  },
}
SCSS
$custom: #47161f;
$custom-light: #7e565a;
$custom-dark: #000000;
JSON
{
  "hex": "#47161f",
  "rgb": {
    "r": 71,
    "g": 22,
    "b": 31
  },
  "hsl": {
    "h": 348.98,
    "s": 52.688,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2815,
    "c": 0.07523,
    "h": 12.2
  },
  "luminance": 0.02012
}

Semantic roles & 50–950 ramp

primary
#47161F
secondary
#3A7E72
accent
#DCC24C
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #47161F

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

Preview Lab → · Contrast checker → · Palette generator →

#47161F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva