#4D1218#4D1218

#4D1218 is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.6% C 0.088 H 19.1°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#4D1218
RGBrgb(77, 18, 24)
HSLhsl(354, 62%, 19%)
HSVhsv(354, 77%, 30%)
CMYKcmyk(0%, 76.6%, 68.8%, 69.8%)
CIE-LABlab(15.89, 27.99, 11.95)
CIE-LCHlch(15.89, 30.43, 23.13°)
OKLaboklab(28.57% 0.0832 0.0288)
OKLCHoklch(28.57% 0.088 19.1)
XYZxyz(3.4421, 2.0768, 1.0836)
Luminance0.0208 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1218 #124D47
analogous
#4D1235 #4D1218 #4D2912
triadic
#4D1218 #184D12 #12184D
tetradic
#4D1218 #354D12 #124D47 #29124D
square
#4D1218 #354D12 #124D47 #29124D
split-complementary
#4D1218 #124D29 #12354D
monochromatic
#190608 #1B0609 #4D1218 #7F1E27 #B02937

Accessibility & contrast

On white

14.84
#4D1218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1218
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1218#FFFFFF#000000##FFFFFF
##4D12181.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222018
Deuteranopia (green-blind)
#312C16
Tritanopia (blue-blind)
#550415
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4d1218;
/* rgb */ color: rgb(77, 18, 24);
/* oklch */ color: oklch(28.6% 0.088 19.1);
Tailwind
colors: {
  custom: {
    50: '#845454',
    500: '#4d1218',
    950: '#000000',
  },
}
SCSS
$custom: #4d1218;
$custom-light: #845454;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1218",
  "rgb": {
    "r": 77,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 353.898,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28574,
    "c": 0.08804,
    "h": 19.1
  },
  "luminance": 0.02076
}

Semantic roles & 50–950 ramp

primary
#4D1218
secondary
#35867E
accent
#E5D543
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #4D1218

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

Preview Lab → · Contrast checker → · Palette generator →

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