#4A1217#4A1217

#4A1217 is a dark, moderate red. Relative luminance 0.019; OKLCH L 28.0% C 0.084 H 19.5°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#4A1217
RGBrgb(74, 18, 23)
HSLhsl(355, 61%, 18%)
HSVhsv(355, 76%, 29%)
CMYKcmyk(0%, 75.7%, 68.9%, 71%)
CIE-LABlab(15.23, 26.77, 11.70)
CIE-LCHlch(15.23, 29.22, 23.60°)
OKLaboklab(27.96% 0.0795 0.0282)
OKLCHoklch(27.96% 0.084 19.5)
XYZxyz(3.1953, 1.9508, 1.0187)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1217 #124A45
analogous
#4A1233 #4A1217 #4A2912
triadic
#4A1217 #174A12 #12174A
tetradic
#4A1217 #334A12 #124A45 #29124A
square
#4A1217 #334A12 #124A45 #29124A
split-complementary
#4A1217 #124A29 #12334A
monochromatic
#190608 #190608 #4A1217 #7B1E26 #AC2A36

Accessibility & contrast

On white

15.11
#4A1217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4A1217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1217
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1217#FFFFFF#000000##FFFFFF
##4A12171.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F17
Deuteranopia (green-blind)
#2F2B15
Tritanopia (blue-blind)
#520514
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4a1217;
/* rgb */ color: rgb(74, 18, 23);
/* oklch */ color: oklch(28.0% 0.084 19.5);
Tailwind
colors: {
  custom: {
    50: '#815453',
    500: '#4a1217',
    950: '#000000',
  },
}
SCSS
$custom: #4a1217;
$custom-light: #815453;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1217",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 23
  },
  "hsl": {
    "h": 354.643,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27958,
    "c": 0.08439,
    "h": 19.5
  },
  "luminance": 0.0195
}

Semantic roles & 50–950 ramp

primary
#4A1217
secondary
#35837C
accent
#E4D644
background
#F8F5F4
surface
#EFE8E7
border
#CAC4C3
text
#0B0302
muted
#7C7878

Preview Lab

Preview with #4A1217

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

Preview Lab → · Contrast checker → · Palette generator →

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