#1C040C#1C040C

#1C040C is a very dark, muted pink. Relative luminance 0.004; OKLCH L 15.9% C 0.046 H 0.7°. Best body text is #FFFFFF at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#1C040C
RGBrgb(28, 4, 12)
HSLhsl(340, 75%, 6%)
HSVhsv(340, 86%, 11%)
CMYKcmyk(0%, 85.7%, 57.1%, 89%)
CIE-LABlab(3.25, 10.09, 0.09)
CIE-LCHlch(3.25, 10.09, 0.49°)
OKLaboklab(15.93% 0.0464 0.0006)
OKLCHoklch(15.93% 0.046 0.7)
XYZxyz(0.5887, 0.3603, 0.3863)
Luminance0.0036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C040C #041C14
analogous
#1C0418 #1C040C #1C0804
triadic
#1C040C #0C1C04 #040C1C
tetradic
#1C040C #181C04 #041C14 #08041C
square
#1C040C #181C04 #041C14 #08041C
split-complementary
#1C040C #041C08 #04181C
monochromatic
#1B040B #1B040B #1C040C #520C23 #87133A

Accessibility & contrast

On white

19.59
#1C040C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#1C040C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1C040C#FFFFFF#000000##FFFFFF
##1C040C1.0019.591.0719.59
#FFFFFF19.591.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08090C
Deuteranopia (green-blind)
#0E0E0B
Tritanopia (blue-blind)
#1F0307
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1c040c;
/* rgb */ color: rgb(28, 4, 12);
/* oklch */ color: oklch(15.9% 0.046 0.7);
Tailwind
colors: {
  custom: {
    50: '#57484c',
    500: '#1c040c',
    950: '#000000',
  },
}
SCSS
$custom: #1c040c;
$custom-light: #57484c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c040c",
  "rgb": {
    "r": 28,
    "g": 4,
    "b": 12
  },
  "hsl": {
    "h": 340,
    "s": 75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.15935,
    "c": 0.0464,
    "h": 0.7
  },
  "luminance": 0.0036
}

Semantic roles & 50–950 ramp

primary
#1C040C
secondary
#1D5E49
accent
#F2B336
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#030001
muted
#787777

Preview Lab

Preview with #1C040C

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

Preview Lab → · Contrast checker → · Palette generator →

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