#4A170E#4A170E

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

Color values

HEX#4A170E
RGBrgb(74, 23, 14)
HSLhsl(9, 68%, 17%)
HSVhsv(9, 81%, 29%)
CMYKcmyk(0%, 68.9%, 81.1%, 71%)
CIE-LABlab(16.01, 23.66, 18.28)
CIE-LCHlch(16.01, 29.89, 37.69°)
OKLaboklab(28.49% 0.0676 0.0426)
OKLCHoklch(28.49% 0.08 32.2)
XYZxyz(3.2100, 2.1008, 0.6518)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A170E #0E414A
analogous
#4A0E23 #4A170E #4A350E
triadic
#4A170E #0E4A17 #170E4A
tetradic
#4A170E #234A0E #0E414A #350E4A
square
#4A170E #234A0E #0E414A #350E4A
split-complementary
#4A170E #0E4A35 #0E234A
monochromatic
#1A0805 #1A0805 #4A170E #7D2718 #B13721

Accessibility & contrast

On white

14.79
#4A170E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A170E
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A170E#FFFFFF#000000##FFFFFF
##4A170E1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a170e;
/* rgb */ color: rgb(74, 23, 14);
/* oklch */ color: oklch(28.5% 0.080 32.2);
Tailwind
colors: {
  custom: {
    50: '#82574d',
    500: '#4a170e',
    950: '#000000',
  },
}
SCSS
$custom: #4a170e;
$custom-light: #82574d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a170e",
  "rgb": {
    "r": 74,
    "g": 23,
    "b": 14
  },
  "hsl": {
    "h": 9,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28493,
    "c": 0.07989,
    "h": 32.2
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#4A170E
secondary
#2F7885
accent
#D1EB3D
background
#F8F5F4
surface
#EFE9E7
border
#CAC5C3
text
#0B0301
muted
#7C7877

Preview Lab

Preview with #4A170E

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

Preview Lab → · Contrast checker → · Palette generator →

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