#2C040C#2C040C

#2C040C is a very dark, moderate red. Relative luminance 0.006; OKLCH L 19.5% C 0.066 H 13.2°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#2C040C
RGBrgb(44, 4, 12)
HSLhsl(348, 83%, 9%)
HSVhsv(348, 91%, 17%)
CMYKcmyk(0%, 90.9%, 72.7%, 82.7%)
CIE-LABlab(5.86, 20.51, 4.21)
CIE-LCHlch(5.86, 20.93, 11.60°)
OKLaboklab(19.5% 0.0647 0.0151)
OKLCHoklch(19.5% 0.066 13.2)
XYZxyz(1.1486, 0.6490, 0.4125)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C040C #042C24
analogous
#2C0420 #2C040C #2C1004
triadic
#2C040C #0C2C04 #040C2C
tetradic
#2C040C #202C04 #042C24 #10042C
square
#2C040C #202C04 #042C24 #10042C
split-complementary
#2C040C #042C10 #04202C
monochromatic
#1C0308 #1C0308 #2C040C #64091B #9C0E2B

Accessibility & contrast

On white

18.59
#2C040C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C040C
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C040C#FFFFFF#000000##FFFFFF
##2C040C1.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0D0C
Deuteranopia (green-blind)
#19160B
Tritanopia (blue-blind)
#310007
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #2c040c;
/* rgb */ color: rgb(44, 4, 12);
/* oklch */ color: oklch(19.5% 0.066 13.2);
Tailwind
colors: {
  custom: {
    50: '#68484c',
    500: '#2c040c',
    950: '#000000',
  },
}
SCSS
$custom: #2c040c;
$custom-light: #68484c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c040c",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 12
  },
  "hsl": {
    "h": 348,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19498,
    "c": 0.06645,
    "h": 13.2
  },
  "luminance": 0.00649
}

Semantic roles & 50–950 ramp

primary
#2C040C
secondary
#1D6F5E
accent
#FAD12E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2C040C

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

Preview Lab → · Contrast checker → · Palette generator →

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