#2C040B#2C040B

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

Color values

HEX#2C040B
RGBrgb(44, 4, 11)
HSLhsl(350, 83%, 9%)
HSVhsv(350, 91%, 17%)
CMYKcmyk(0%, 90.9%, 75%, 82.7%)
CIE-LABlab(5.84, 20.40, 4.62)
CIE-LCHlch(5.84, 20.91, 12.76°)
OKLaboklab(19.47% 0.0642 0.0168)
OKLCHoklch(19.47% 0.066 14.7)
XYZxyz(1.1426, 0.6466, 0.3812)
Luminance0.0065 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C040B #042C25
analogous
#2C041F #2C040B #2C1104
triadic
#2C040B #0B2C04 #040B2C
tetradic
#2C040B #1F2C04 #042C25 #11042C
square
#2C040B #1F2C04 #042C25 #11042C
split-complementary
#2C040B #042C11 #041F2C
monochromatic
#1C0307 #1C0307 #2C040B #640919 #9C0E27

Accessibility & contrast

On white

18.60
#2C040B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C040B
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C040B#FFFFFF#000000##FFFFFF
##2C040B1.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c040b;
/* rgb */ color: rgb(44, 4, 11);
/* oklch */ color: oklch(19.5% 0.066 14.7);
Tailwind
colors: {
  custom: {
    50: '#68484c',
    500: '#2c040b',
    950: '#000000',
  },
}
SCSS
$custom: #2c040b;
$custom-light: #68484c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c040b",
  "rgb": {
    "r": 44,
    "g": 4,
    "b": 11
  },
  "hsl": {
    "h": 349.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.1947,
    "c": 0.06637,
    "h": 14.7
  },
  "luminance": 0.00646
}

Semantic roles & 50–950 ramp

primary
#2C040B
secondary
#1D6F60
accent
#FAD62E
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060001
muted
#7A7777

Preview Lab

Preview with #2C040B

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

Preview Lab → · Contrast checker → · Palette generator →

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