#47151A#47151A

#47151A is a dark, moderate red. Relative luminance 0.020; OKLCH L 27.9% C 0.076 H 17.7°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#47151A
RGBrgb(71, 21, 26)
HSLhsl(354, 54%, 18%)
HSVhsv(354, 70%, 28%)
CMYKcmyk(0%, 70.4%, 63.4%, 72.2%)
CIE-LABlab(15.23, 24.35, 9.42)
CIE-LCHlch(15.23, 26.10, 21.15°)
OKLaboklab(27.86% 0.0729 0.0233)
OKLCHoklch(27.86% 0.076 17.7)
XYZxyz(3.0534, 1.9509, 1.1929)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47151A #154742
analogous
#471533 #47151A #472915
triadic
#47151A #1A4715 #151A47
tetradic
#47151A #334715 #154742 #291547
square
#47151A #334715 #154742 #291547
split-complementary
#47151A #154729 #153347
monochromatic
#180709 #180709 #47151A #76232B #A5313D

Accessibility & contrast

On white

15.11
#47151A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#47151A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47151A
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47151A#FFFFFF#000000##FFFFFF
##47151A1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21201A
Deuteranopia (green-blind)
#2E2A19
Tritanopia (blue-blind)
#4E0C17
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #47151a;
/* rgb */ color: rgb(71, 21, 26);
/* oklch */ color: oklch(27.9% 0.076 17.7);
Tailwind
colors: {
  custom: {
    50: '#7e5556',
    500: '#47151a',
    950: '#000000',
  },
}
SCSS
$custom: #47151a;
$custom-light: #7e5556;
$custom-dark: #000000;
JSON
{
  "hex": "#47151a",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 26
  },
  "hsl": {
    "h": 354,
    "s": 54.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27864,
    "c": 0.07648,
    "h": 17.7
  },
  "luminance": 0.01951
}

Semantic roles & 50–950 ramp

primary
#47151A
secondary
#397F78
accent
#DECF4A
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #47151A

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

Preview Lab → · Contrast checker → · Palette generator →

#47151A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva