#4E030C#4E030C

#4E030C is a dark, moderate red. Relative luminance 0.017; OKLCH L 27.1% C 0.105 H 22.5°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#4E030C
RGBrgb(78, 3, 12)
HSLhsl(353, 93%, 16%)
HSVhsv(353, 96%, 31%)
CMYKcmyk(0%, 96.2%, 84.6%, 69.4%)
CIE-LABlab(13.90, 33.28, 16.70)
CIE-LCHlch(13.90, 37.23, 26.65°)
OKLaboklab(27.07% 0.0969 0.0401)
OKLCHoklch(27.07% 0.105 22.5)
XYZxyz(3.2412, 1.7119, 0.5075)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E030C #034E45
analogous
#4E0331 #4E030C #4E1F03
triadic
#4E030C #0C4E03 #030C4E
tetradic
#4E030C #314E03 #034E45 #1F034E
square
#4E030C #314E03 #034E45 #1F034E
split-complementary
#4E030C #034E1F #03314E
monochromatic
#1D0105 #1D0105 #4E030C #890515 #C4081E

Accessibility & contrast

On white

15.65
#4E030C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#4E030C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E030C
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E030C#FFFFFF#000000##FFFFFF
##4E030C1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C190C
Deuteranopia (green-blind)
#2F2909
Tritanopia (blue-blind)
#570007
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #4e030c;
/* rgb */ color: rgb(78, 3, 12);
/* oklch */ color: oklch(27.1% 0.105 22.5);
Tailwind
colors: {
  custom: {
    50: '#864e4c',
    500: '#4e030c',
    950: '#000000',
  },
}
SCSS
$custom: #4e030c;
$custom-light: #864e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e030c",
  "rgb": {
    "r": 78,
    "g": 3,
    "b": 12
  },
  "hsl": {
    "h": 352.8,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27071,
    "c": 0.10484,
    "h": 22.5
  },
  "luminance": 0.01711
}

Semantic roles & 50–950 ramp

primary
#4E030C
secondary
#1E8E81
accent
#FFE529
background
#F8F4F4
surface
#F0E7E7
border
#CBC3C3
text
#0C0201
muted
#7D7877

Preview Lab

Preview with #4E030C

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

Preview Lab → · Contrast checker → · Palette generator →

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