#4A1017#4A1017

#4A1017 is a dark, moderate red. Relative luminance 0.019; OKLCH L 27.7% C 0.087 H 18.3°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#4A1017
RGBrgb(74, 16, 23)
HSLhsl(353, 64%, 18%)
HSVhsv(353, 78%, 29%)
CMYKcmyk(0%, 78.4%, 68.9%, 71%)
CIE-LABlab(14.89, 27.69, 11.26)
CIE-LCHlch(14.89, 29.90, 22.13°)
OKLaboklab(27.71% 0.0825 0.0272)
OKLCHoklch(27.71% 0.087 18.3)
XYZxyz(3.1643, 1.8887, 1.0084)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1017 #104A43
analogous
#4A1034 #4A1017 #4A2610
triadic
#4A1017 #174A10 #10174A
tetradic
#4A1017 #344A10 #104A43 #26104A
square
#4A1017 #344A10 #104A43 #26104A
split-complementary
#4A1017 #104A26 #10344A
monochromatic
#190508 #190508 #4A1017 #7C1B27 #AF2636

Accessibility & contrast

On white

15.24
#4A1017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#4A1017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1017
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1017#FFFFFF#000000##FFFFFF
##4A10171.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201E17
Deuteranopia (green-blind)
#2E2A15
Tritanopia (blue-blind)
#520213
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4a1017;
/* rgb */ color: rgb(74, 16, 23);
/* oklch */ color: oklch(27.7% 0.087 18.3);
Tailwind
colors: {
  custom: {
    50: '#815353',
    500: '#4a1017',
    950: '#000000',
  },
}
SCSS
$custom: #4a1017;
$custom-light: #815353;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1017",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 23
  },
  "hsl": {
    "h": 352.759,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27709,
    "c": 0.08684,
    "h": 18.3
  },
  "luminance": 0.01888
}

Semantic roles & 50–950 ramp

primary
#4A1017
secondary
#32847A
accent
#E7D340
background
#F8F4F4
surface
#EFE7E7
border
#CAC3C3
text
#0B0302
muted
#7C7878

Preview Lab

Preview with #4A1017

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

Preview Lab → · Contrast checker → · Palette generator →

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