#4E0712#4E0712

#4E0712 is a dark, moderate red. Relative luminance 0.018; OKLCH L 27.5% C 0.101 H 19.6°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#4E0712
RGBrgb(78, 7, 18)
HSLhsl(351, 84%, 17%)
HSVhsv(351, 91%, 31%)
CMYKcmyk(0%, 91%, 76.9%, 69.4%)
CIE-LABlab(14.49, 32.14, 14.29)
CIE-LCHlch(14.49, 35.18, 23.97°)
OKLaboklab(27.54% 0.0949 0.0338)
OKLCHoklch(27.54% 0.101 19.6)
XYZxyz(3.3274, 1.8159, 0.7474)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0712 #074E43
analogous
#4E0736 #4E0712 #4E2007
triadic
#4E0712 #124E07 #07124E
tetradic
#4E0712 #364E07 #074E43 #20074E
square
#4E0712 #364E07 #074E43 #20074E
split-complementary
#4E0712 #074E20 #07364E
monochromatic
#1C0306 #1C0306 #4E0712 #860C1F #BE112C

Accessibility & contrast

On white

15.41
#4E0712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#4E0712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0712
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0712#FFFFFF#000000##FFFFFF
##4E07121.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1B12
Deuteranopia (green-blind)
#2F2A10
Tritanopia (blue-blind)
#57000C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4e0712;
/* rgb */ color: rgb(78, 7, 18);
/* oklch */ color: oklch(27.5% 0.101 19.6);
Tailwind
colors: {
  custom: {
    50: '#86504f',
    500: '#4e0712',
    950: '#000000',
  },
}
SCSS
$custom: #4e0712;
$custom-light: #86504f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0712",
  "rgb": {
    "r": 78,
    "g": 7,
    "b": 18
  },
  "hsl": {
    "h": 350.704,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2754,
    "c": 0.10069,
    "h": 19.6
  },
  "luminance": 0.01815
}

Semantic roles & 50–950 ramp

primary
#4E0712
secondary
#258C7C
accent
#FADA2E
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0202
muted
#7D7878

Preview Lab

Preview with #4E0712

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

Preview Lab → · Contrast checker → · Palette generator →

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