#2C0104#2C0104

#2C0104 is a very dark, moderate red. Relative luminance 0.006; OKLCH L 18.7% C 0.072 H 22.5°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#2C0104
RGBrgb(44, 1, 4)
HSLhsl(356, 96%, 9%)
HSVhsv(356, 98%, 17%)
CMYKcmyk(0%, 97.7%, 90.9%, 82.7%)
CIE-LABlab(5.11, 21.11, 6.42)
CIE-LCHlch(5.11, 22.06, 16.91°)
OKLaboklab(18.72% 0.067 0.0277)
OKLCHoklch(18.72% 0.072 22.5)
XYZxyz(1.0716, 0.5661, 0.1677)
Luminance0.0057 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0104 #012C29
analogous
#2C011A #2C0104 #2C1401
triadic
#2C0104 #042C01 #01042C
tetradic
#2C0104 #1A2C01 #012C29 #14012C
square
#2C0104 #1A2C01 #012C29 #14012C
split-complementary
#2C0104 #012C14 #011A2C
monochromatic
#1E0103 #1E0103 #2C0104 #680209 #A4040F

Accessibility & contrast

On white

18.86
#2C0104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#2C0104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0104
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0104#FFFFFF#000000##FFFFFF
##2C01041.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0B04
Deuteranopia (green-blind)
#181503
Tritanopia (blue-blind)
#320002
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #2c0104;
/* rgb */ color: rgb(44, 1, 4);
/* oklch */ color: oklch(18.7% 0.072 22.5);
Tailwind
colors: {
  custom: {
    50: '#684648',
    500: '#2c0104',
    950: '#000000',
  },
}
SCSS
$custom: #2c0104;
$custom-light: #684648;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0104",
  "rgb": {
    "r": 44,
    "g": 1,
    "b": 4
  },
  "hsl": {
    "h": 355.814,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.1872,
    "c": 0.07247,
    "h": 22.5
  },
  "luminance": 0.00566
}

Semantic roles & 50–950 ramp

primary
#2C0104
secondary
#17726C
accent
#FFF029
background
#F6F4F4
surface
#EBE6E6
border
#C6C2C2
text
#060000
muted
#7A7777

Preview Lab

Preview with #2C0104

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

Preview Lab → · Contrast checker → · Palette generator →

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