#47151B#47151B

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

Color values

HEX#47151B
RGBrgb(71, 21, 27)
HSLhsl(353, 54%, 18%)
HSVhsv(353, 70%, 28%)
CMYKcmyk(0%, 70.4%, 62%, 72.2%)
CIE-LABlab(15.25, 24.44, 8.73)
CIE-LCHlch(15.25, 25.95, 19.66°)
OKLaboklab(27.89% 0.0733 0.0217)
OKLCHoklch(27.89% 0.076 16.5)
XYZxyz(3.0648, 1.9555, 1.2527)
Luminance0.0196 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47151B #154741
analogous
#471534 #47151B #472815
triadic
#47151B #1B4715 #151B47
tetradic
#47151B #344715 #154741 #281547
square
#47151B #344715 #154741 #281547
split-complementary
#47151B #154728 #153447
monochromatic
#180709 #180709 #47151B #76232D #A5313F

Accessibility & contrast

On white

15.10
#47151B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47151B
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47151B#FFFFFF#000000##FFFFFF
##47151B1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47151b;
/* rgb */ color: rgb(71, 21, 27);
/* oklch */ color: oklch(27.9% 0.076 16.5);
Tailwind
colors: {
  custom: {
    50: '#7e5557',
    500: '#47151b',
    950: '#000000',
  },
}
SCSS
$custom: #47151b;
$custom-light: #7e5557;
$custom-dark: #000000;
JSON
{
  "hex": "#47151b",
  "rgb": {
    "r": 71,
    "g": 21,
    "b": 27
  },
  "hsl": {
    "h": 352.8,
    "s": 54.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2789,
    "c": 0.07647,
    "h": 16.5
  },
  "luminance": 0.01955
}

Semantic roles & 50–950 ramp

primary
#47151B
secondary
#397F76
accent
#DECC4A
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #47151B

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

Preview Lab → · Contrast checker → · Palette generator →

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