#47121F#47121F

#47121F is a dark, moderate red. Relative luminance 0.019; OKLCH L 27.6% C 0.081 H 9.5°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#47121F
RGBrgb(71, 18, 31)
HSLhsl(345, 60%, 17%)
HSVhsv(345, 75%, 28%)
CMYKcmyk(0%, 74.6%, 56.3%, 72.2%)
CIE-LABlab(14.80, 26.35, 5.20)
CIE-LCHlch(14.80, 26.86, 11.16°)
OKLaboklab(27.59% 0.08 0.0134)
OKLCHoklch(27.59% 0.081 9.5)
XYZxyz(3.0624, 1.8715, 1.4960)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47121F #12473A
analogous
#47123A #47121F #471F12
triadic
#47121F #1F4712 #121F47
tetradic
#47121F #3A4712 #12473A #1F1247
square
#47121F #3A4712 #12473A #1F1247
split-complementary
#47121F #12471F #123A47
monochromatic
#18060B #18060B #47121F #781E34 #A92B4A

Accessibility & contrast

On white

15.28
#47121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#47121F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47121F
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47121F#FFFFFF#000000##FFFFFF
##47121F1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1E1F
Deuteranopia (green-blind)
#2C291E
Tritanopia (blue-blind)
#4E0917
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #47121f;
/* rgb */ color: rgb(71, 18, 31);
/* oklch */ color: oklch(27.6% 0.081 9.5);
Tailwind
colors: {
  custom: {
    50: '#7e545a',
    500: '#47121f',
    950: '#000000',
  },
}
SCSS
$custom: #47121f;
$custom-light: #7e545a;
$custom-dark: #000000;
JSON
{
  "hex": "#47121f",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 345.283,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27586,
    "c": 0.08113,
    "h": 9.5
  },
  "luminance": 0.01871
}

Semantic roles & 50–950 ramp

primary
#47121F
secondary
#35806E
accent
#E3BC45
background
#F8F4F5
surface
#EFE8E9
border
#CAC4C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #47121F

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

Preview Lab → · Contrast checker → · Palette generator →

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