#4A1117#4A1117

#4A1117 is a dark, moderate red. Relative luminance 0.019; OKLCH L 27.8% C 0.086 H 18.9°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#4A1117
RGBrgb(74, 17, 23)
HSLhsl(354, 63%, 18%)
HSVhsv(354, 77%, 29%)
CMYKcmyk(0%, 77%, 68.9%, 71%)
CIE-LABlab(15.06, 27.24, 11.48)
CIE-LCHlch(15.06, 29.56, 22.85°)
OKLaboklab(27.83% 0.081 0.0277)
OKLCHoklch(27.83% 0.086 18.9)
XYZxyz(3.1795, 1.9191, 1.0134)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1117 #114A44
analogous
#4A1133 #4A1117 #4A2711
triadic
#4A1117 #174A11 #11174A
tetradic
#4A1117 #334A11 #114A44 #27114A
square
#4A1117 #334A11 #114A44 #27114A
split-complementary
#4A1117 #114A27 #11334A
monochromatic
#190608 #190608 #4A1117 #7C1C26 #AE2836

Accessibility & contrast

On white

15.18
#4A1117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#4A1117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1117
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1117#FFFFFF#000000##FFFFFF
##4A11171.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201E17
Deuteranopia (green-blind)
#2F2A15
Tritanopia (blue-blind)
#520414
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4a1117;
/* rgb */ color: rgb(74, 17, 23);
/* oklch */ color: oklch(27.8% 0.086 18.9);
Tailwind
colors: {
  custom: {
    50: '#815353',
    500: '#4a1117',
    950: '#000000',
  },
}
SCSS
$custom: #4a1117;
$custom-light: #815353;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1117",
  "rgb": {
    "r": 74,
    "g": 17,
    "b": 23
  },
  "hsl": {
    "h": 353.684,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27831,
    "c": 0.08563,
    "h": 18.9
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#4A1117
secondary
#33837B
accent
#E6D442
background
#F8F4F4
surface
#EFE8E7
border
#CAC4C3
text
#0B0302
muted
#7C7878

Preview Lab

Preview with #4A1117

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

Preview Lab → · Contrast checker → · Palette generator →

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