#4A170F#4A170F

#4A170F is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.5% C 0.080 H 31.3°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#4A170F
RGBrgb(74, 23, 15)
HSLhsl(8, 66%, 17%)
HSVhsv(8, 80%, 29%)
CMYKcmyk(0%, 68.9%, 79.7%, 71%)
CIE-LABlab(16.02, 23.71, 17.78)
CIE-LCHlch(16.02, 29.63, 36.86°)
OKLaboklab(28.51% 0.068 0.0414)
OKLCHoklch(28.51% 0.08 31.3)
XYZxyz(3.2170, 2.1036, 0.6885)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A170F #0F424A
analogous
#4A0F24 #4A170F #4A350F
triadic
#4A170F #0F4A17 #170F4A
tetradic
#4A170F #244A0F #0F424A #350F4A
square
#4A170F #244A0F #0F424A #350F4A
split-complementary
#4A170F #0F4A35 #0F244A
monochromatic
#190805 #190805 #4A170F #7D2719 #B03724

Accessibility & contrast

On white

14.78
#4A170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4A170F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A170F
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A170F#FFFFFF#000000##FFFFFF
##4A170F1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25210E
Deuteranopia (green-blind)
#322C0D
Tritanopia (blue-blind)
#520B15
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a170f;
/* rgb */ color: rgb(74, 23, 15);
/* oklch */ color: oklch(28.5% 0.080 31.3);
Tailwind
colors: {
  custom: {
    50: '#82574e',
    500: '#4a170f',
    950: '#000000',
  },
}
SCSS
$custom: #4a170f;
$custom-light: #82574e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a170f",
  "rgb": {
    "r": 74,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 8.136,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28508,
    "c": 0.07963,
    "h": 31.3
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#4A170F
secondary
#307984
accent
#D2E93F
background
#F8F5F4
surface
#EFE9E7
border
#CAC5C3
text
#0B0301
muted
#7C7877

Preview Lab

Preview with #4A170F

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

Preview Lab → · Contrast checker → · Palette generator →

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