#4E1207#4E1207

#4E1207 is a dark, moderate red. Relative luminance 0.021; OKLCH L 28.5% C 0.092 H 32.8°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#4E1207
RGBrgb(78, 18, 7)
HSLhsl(9, 84%, 17%)
HSVhsv(9, 91%, 31%)
CMYKcmyk(0%, 76.9%, 91%, 69.4%)
CIE-LABlab(15.84, 27.45, 21.29)
CIE-LCHlch(15.84, 34.74, 37.79°)
OKLaboklab(28.5% 0.0773 0.0498)
OKLCHoklch(28.5% 0.092 32.8)
XYZxyz(3.3969, 2.0682, 0.4213)
Luminance0.0207 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1207 #07434E
analogous
#4E0720 #4E1207 #4E3607
triadic
#4E1207 #074E12 #12074E
tetradic
#4E1207 #204E07 #07434E #36074E
square
#4E1207 #204E07 #07434E #36074E
split-complementary
#4E1207 #074E36 #07204E
monochromatic
#1C0603 #1C0603 #4E1207 #861F0C #BE2C11

Accessibility & contrast

On white

14.86
#4E1207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4E1207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1207
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1207#FFFFFF#000000##FFFFFF
##4E12071.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#241F05
Deuteranopia (green-blind)
#332C05
Tritanopia (blue-blind)
#570010
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4e1207;
/* rgb */ color: rgb(78, 18, 7);
/* oklch */ color: oklch(28.5% 0.092 32.8);
Tailwind
colors: {
  custom: {
    50: '#865449',
    500: '#4e1207',
    950: '#000000',
  },
}
SCSS
$custom: #4e1207;
$custom-light: #865449;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1207",
  "rgb": {
    "r": 78,
    "g": 18,
    "b": 7
  },
  "hsl": {
    "h": 9.296,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28498,
    "c": 0.09194,
    "h": 32.8
  },
  "luminance": 0.02068
}

Semantic roles & 50–950 ramp

primary
#4E1207
secondary
#257C8C
accent
#DAFA2E
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0301
muted
#7D7877

Preview Lab

Preview with #4E1207

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

Preview Lab → · Contrast checker → · Palette generator →

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