#4A171E#4A171E

#4A171E is a dark, moderate red. Relative luminance 0.022; OKLCH L 28.8% C 0.078 H 15.2°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#4A171E
RGBrgb(74, 23, 30)
HSLhsl(352, 53%, 19%)
HSVhsv(352, 69%, 29%)
CMYKcmyk(0%, 68.9%, 59.5%, 71%)
CIE-LABlab(16.32, 24.87, 8.12)
CIE-LCHlch(16.32, 26.16, 18.08°)
OKLaboklab(28.83% 0.0748 0.0204)
OKLCHoklch(28.83% 0.078 15.2)
XYZxyz(3.3651, 2.1628, 1.4683)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A171E #174A43
analogous
#4A1738 #4A171E #4A2A17
triadic
#4A171E #1E4A17 #171E4A
tetradic
#4A171E #384A17 #174A43 #2A174A
square
#4A171E #384A17 #174A43 #2A174A
split-complementary
#4A171E #174A2A #17384A
monochromatic
#170709 #1B080B #4A171E #792631 #A73444

Accessibility & contrast

On white

14.66
#4A171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4A171E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A171E
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A171E#FFFFFF#000000##FFFFFF
##4A171E1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23221E
Deuteranopia (green-blind)
#302C1D
Tritanopia (blue-blind)
#510E1A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a171e;
/* rgb */ color: rgb(74, 23, 30);
/* oklch */ color: oklch(28.8% 0.078 15.2);
Tailwind
colors: {
  custom: {
    50: '#805759',
    500: '#4a171e',
    950: '#000000',
  },
}
SCSS
$custom: #4a171e;
$custom-light: #805759;
$custom-dark: #000000;
JSON
{
  "hex": "#4a171e",
  "rgb": {
    "r": 74,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 351.765,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28828,
    "c": 0.07756,
    "h": 15.2
  },
  "luminance": 0.02162
}

Semantic roles & 50–950 ramp

primary
#4A171E
secondary
#3C8178
accent
#DCC84C
background
#F8F5F5
surface
#EFE9E9
border
#CAC5C5
text
#0B0303
muted
#7C7878

Preview Lab

Preview with #4A171E

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

Preview Lab → · Contrast checker → · Palette generator →

#4A171E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva