#4A1817#4A1817

#4A1817 is a dark, moderate red. Relative luminance 0.022; OKLCH L 28.8% C 0.077 H 24.3°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#4A1817
RGBrgb(74, 24, 23)
HSLhsl(1, 53%, 19%)
HSVhsv(1, 69%, 29%)
CMYKcmyk(0%, 67.6%, 68.9%, 71%)
CIE-LABlab(16.36, 23.72, 13.15)
CIE-LCHlch(16.36, 27.12, 29.01°)
OKLaboklab(28.81% 0.0699 0.0315)
OKLCHoklch(28.81% 0.077 24.3)
XYZxyz(3.3056, 2.1714, 1.0555)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1817 #17494A
analogous
#4A1730 #4A1817 #4A3217
triadic
#4A1817 #174A18 #18174A
tetradic
#4A1817 #304A17 #17494A #32174A
square
#4A1817 #304A17 #17494A #32174A
split-complementary
#4A1817 #174A32 #17304A
monochromatic
#170807 #1B0908 #4A1817 #792726 #A73634

Accessibility & contrast

On white

14.64
#4A1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4A1817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1817
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1817#FFFFFF#000000##FFFFFF
##4A18171.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252217
Deuteranopia (green-blind)
#312D16
Tritanopia (blue-blind)
#520E18
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4a1817;
/* rgb */ color: rgb(74, 24, 23);
/* oklch */ color: oklch(28.8% 0.077 24.3);
Tailwind
colors: {
  custom: {
    50: '#815753',
    500: '#4a1817',
    950: '#000000',
  },
}
SCSS
$custom: #4a1817;
$custom-light: #815753;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1817",
  "rgb": {
    "r": 74,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 1.176,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28809,
    "c": 0.07665,
    "h": 24.3
  },
  "luminance": 0.02171
}

Semantic roles & 50–950 ramp

primary
#4A1817
secondary
#3C8081
accent
#D9DC4C
background
#F8F5F4
surface
#EFE9E7
border
#CAC5C3
text
#0B0302
muted
#7C7878

Preview Lab

Preview with #4A1817

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

Preview Lab → · Contrast checker → · Palette generator →

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