#471218#471218

#471218 is a dark, moderate red. Relative luminance 0.018; OKLCH L 27.4% C 0.081 H 17.8°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#471218
RGBrgb(71, 18, 24)
HSLhsl(353, 60%, 17%)
HSVhsv(353, 75%, 28%)
CMYKcmyk(0%, 74.6%, 66.2%, 72.2%)
CIE-LABlab(14.62, 25.70, 10.06)
CIE-LCHlch(14.62, 27.59, 21.37°)
OKLaboklab(27.39% 0.0768 0.0246)
OKLCHoklch(27.39% 0.081 17.8)
XYZxyz(2.9800, 1.8386, 1.0619)
Luminance0.0184 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#471218 #124741
analogous
#471232 #471218 #472712
triadic
#471218 #184712 #121847
tetradic
#471218 #324712 #124741 #271247
square
#471218 #324712 #124741 #271247
split-complementary
#471218 #124727 #123247
monochromatic
#180608 #180608 #471218 #781E29 #A92B39

Accessibility & contrast

On white

15.36
#471218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#471218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #471218
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##471218#FFFFFF#000000##FFFFFF
##4712181.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201E18
Deuteranopia (green-blind)
#2D2917
Tritanopia (blue-blind)
#4E0715
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #471218;
/* rgb */ color: rgb(71, 18, 24);
/* oklch */ color: oklch(27.4% 0.081 17.8);
Tailwind
colors: {
  custom: {
    50: '#7f5454',
    500: '#471218',
    950: '#000000',
  },
}
SCSS
$custom: #471218;
$custom-light: #7f5454;
$custom-dark: #000000;
JSON
{
  "hex": "#471218",
  "rgb": {
    "r": 71,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 353.208,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27392,
    "c": 0.0806,
    "h": 17.8
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#471218
secondary
#358078
accent
#E3D145
background
#F8F4F4
surface
#EFE7E7
border
#CAC3C3
text
#0B0302
muted
#7C7878

Preview Lab

Preview with #471218

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

Preview Lab → · Contrast checker → · Palette generator →

#471218 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva