#4A170D#4A170D

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

Color values

HEX#4A170D
RGBrgb(74, 23, 13)
HSLhsl(10, 70%, 17%)
HSVhsv(10, 82%, 29%)
CMYKcmyk(0%, 68.9%, 82.4%, 71%)
CIE-LABlab(15.99, 23.60, 18.75)
CIE-LCHlch(15.99, 30.14, 38.46°)
OKLaboklab(28.48% 0.0672 0.0437)
OKLCHoklch(28.48% 0.08 33)
XYZxyz(3.2034, 2.0981, 0.6170)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A170D #0D404A
analogous
#4A0D22 #4A170D #4A360D
triadic
#4A170D #0D4A17 #170D4A
tetradic
#4A170D #224A0D #0D404A #360D4A
square
#4A170D #224A0D #0D404A #360D4A
split-complementary
#4A170D #0D4A36 #0D224A
monochromatic
#1A0805 #1A0805 #4A170D #7E2716 #B2371F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A170D#FFFFFF#000000##FFFFFF
##4A170D1.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)
#25210C
Deuteranopia (green-blind)
#322C0B
Tritanopia (blue-blind)
#520B15
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a170d;
/* rgb */ color: rgb(74, 23, 13);
/* oklch */ color: oklch(28.5% 0.080 33.0);
Tailwind
colors: {
  custom: {
    50: '#82574c',
    500: '#4a170d',
    950: '#000000',
  },
}
SCSS
$custom: #4a170d;
$custom-light: #82574c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a170d",
  "rgb": {
    "r": 74,
    "g": 23,
    "b": 13
  },
  "hsl": {
    "h": 9.836,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28479,
    "c": 0.08015,
    "h": 33
  },
  "luminance": 0.02098
}

Semantic roles & 50–950 ramp

primary
#4A170D
secondary
#2E7785
accent
#D0ED3B
background
#F8F5F4
surface
#EFE9E7
border
#CAC5C3
text
#0B0301
muted
#7C7877

Preview Lab

Preview with #4A170D

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

Preview Lab → · Contrast checker → · Palette generator →

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