#4A170A#4A170A

#4A170A is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.4% C 0.081 H 35.3°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#4A170A
RGBrgb(74, 23, 10)
HSLhsl(12, 76%, 16%)
HSVhsv(12, 86%, 29%)
CMYKcmyk(0%, 68.9%, 86.5%, 71%)
CIE-LABlab(15.96, 23.46, 20.03)
CIE-LCHlch(15.96, 30.85, 40.49°)
OKLaboklab(28.44% 0.0661 0.0468)
OKLCHoklch(28.44% 0.081 35.3)
XYZxyz(3.1856, 2.0910, 0.5230)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A170A #0A3D4A
analogous
#4A0A1D #4A170A #4A370A
triadic
#4A170A #0A4A17 #170A4A
tetradic
#4A170A #1D4A0A #0A3D4A #370A4A
square
#4A170A #1D4A0A #0A3D4A #370A4A
split-complementary
#4A170A #0A4A37 #0A1D4A
monochromatic
#1B0804 #1B0804 #4A170A #802811 #B63919

Accessibility & contrast

On white

14.81
#4A170A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A170A
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A170A#FFFFFF#000000##FFFFFF
##4A170A1.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252108
Deuteranopia (green-blind)
#322C08
Tritanopia (blue-blind)
#520A14
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4a170a;
/* rgb */ color: rgb(74, 23, 10);
/* oklch */ color: oklch(28.4% 0.081 35.3);
Tailwind
colors: {
  custom: {
    50: '#82564b',
    500: '#4a170a',
    950: '#000000',
  },
}
SCSS
$custom: #4a170a;
$custom-light: #82564b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a170a",
  "rgb": {
    "r": 74,
    "g": 23,
    "b": 10
  },
  "hsl": {
    "h": 12.188,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2844,
    "c": 0.08097,
    "h": 35.3
  },
  "luminance": 0.02091
}

Semantic roles & 50–950 ramp

primary
#4A170A
secondary
#297487
accent
#CCF335
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0B0301
muted
#7C7877

Preview Lab

Preview with #4A170A

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

Preview Lab → · Contrast checker → · Palette generator →

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