#4A1218#4A1218

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

Color values

HEX#4A1218
RGBrgb(74, 18, 24)
HSLhsl(354, 61%, 18%)
HSVhsv(354, 76%, 29%)
CMYKcmyk(0%, 75.7%, 67.6%, 71%)
CIE-LABlab(15.25, 26.85, 11.01)
CIE-LCHlch(15.25, 29.02, 22.29°)
OKLaboklab(27.98% 0.08 0.0267)
OKLCHoklch(27.98% 0.084 18.5)
XYZxyz(3.2055, 1.9549, 1.0725)
Luminance0.0195 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1218 #124A44
analogous
#4A1234 #4A1218 #4A2812
triadic
#4A1218 #184A12 #12184A
tetradic
#4A1218 #344A12 #124A44 #28124A
square
#4A1218 #344A12 #124A44 #28124A
split-complementary
#4A1218 #124A28 #12344A
monochromatic
#190608 #190608 #4A1218 #7B1E28 #AC2A38

Accessibility & contrast

On white

15.10
#4A1218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1218
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1218#FFFFFF#000000##FFFFFF
##4A12181.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211F18
Deuteranopia (green-blind)
#2F2B17
Tritanopia (blue-blind)
#520515
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4a1218;
/* rgb */ color: rgb(74, 18, 24);
/* oklch */ color: oklch(28.0% 0.084 18.5);
Tailwind
colors: {
  custom: {
    50: '#815454',
    500: '#4a1218',
    950: '#000000',
  },
}
SCSS
$custom: #4a1218;
$custom-light: #815454;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1218",
  "rgb": {
    "r": 74,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 353.571,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27981,
    "c": 0.08434,
    "h": 18.5
  },
  "luminance": 0.01954
}

Semantic roles & 50–950 ramp

primary
#4A1218
secondary
#35837B
accent
#E4D344
background
#F8F5F4
surface
#EFE8E7
border
#CAC4C3
text
#0B0302
muted
#7C7878

Preview Lab

Preview with #4A1218

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

Preview Lab → · Contrast checker → · Palette generator →

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