#2C040E#2C040E

#2C040E is a very dark, moderate red. Relative luminance 0.007; OKLCH L 19.6% C 0.067 H 10.0°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#2C040E
RGBrgb(44, 4, 14)
HSLhsl(345, 83%, 9%)
HSVhsv(345, 91%, 17%)
CMYKcmyk(0%, 90.9%, 68.2%, 82.7%)
CIE-LABlab(5.91, 20.73, 3.32)
CIE-LCHlch(5.91, 20.99, 9.09°)
OKLaboklab(19.56% 0.0657 0.0116)
OKLCHoklch(19.56% 0.067 10)
XYZxyz(1.1615, 0.6542, 0.4805)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C040E #042C22
analogous
#2C0422 #2C040E #2C0E04
triadic
#2C040E #0E2C04 #040E2C
tetradic
#2C040E #222C04 #042C22 #0E042C
square
#2C040E #222C04 #042C22 #0E042C
split-complementary
#2C040E #042C0E #04222C
monochromatic
#1C0309 #1C0309 #2C040E #640920 #9C0E32

Accessibility & contrast

On white

18.57
#2C040E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#2C040E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C040E
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C040E#FFFFFF#000000##FFFFFF
##2C040E1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0E0E
Deuteranopia (green-blind)
#18160D
Tritanopia (blue-blind)
#310008
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2c040e;
/* rgb */ color: rgb(44, 4, 14);
/* oklch */ color: oklch(19.6% 0.067 10.0);
Tailwind
colors: {
  custom: {
    50: '#68484d',
    500: '#2c040e',
    950: '#000000',
  },
}
SCSS
$custom: #2c040e;
$custom-light: #68484d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c040e",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 14
  },
  "hsl": {
    "h": 345,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19559,
    "c": 0.06672,
    "h": 10
  },
  "luminance": 0.00654
}

Semantic roles & 50–950 ramp

primary
#2C040E
secondary
#1D6F5A
accent
#FAC72E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2C040E

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

Preview Lab → · Contrast checker → · Palette generator →

#2C040E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva