#1A040C#1A040C

#1A040C is a very dark, muted pink. Relative luminance 0.003; OKLCH L 15.5% C 0.044 H 358.3°. Best body text is #FFFFFF at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#1A040C
RGBrgb(26, 4, 12)
HSLhsl(338, 73%, 6%)
HSVhsv(338, 85%, 10%)
CMYKcmyk(0%, 84.6%, 53.8%, 89.8%)
CIE-LABlab(3.01, 8.98, -0.30)
CIE-LCHlch(3.01, 8.99, 358.06°)
OKLaboklab(15.51% 0.0438 -0.0013)
OKLCHoklch(15.51% 0.044 358.3)
XYZxyz(0.5358, 0.3330, 0.3838)
Luminance0.0033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A040C #041A12
analogous
#1A0417 #1A040C #1A0704
triadic
#1A040C #0C1A04 #040C1A
tetradic
#1A040C #171A04 #041A12 #07041A
square
#1A040C #171A04 #041A12 #07041A
split-complementary
#1A040C #041A07 #04171A
monochromatic
#1B040C #1B040C #1B040C #4F0C24 #84143D

Accessibility & contrast

On white

19.69
#1A040C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A040C
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A040C#FFFFFF#000000##FFFFFF
##1A040C1.0019.691.0719.69
#FFFFFF19.691.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07080C
Deuteranopia (green-blind)
#0D0D0B
Tritanopia (blue-blind)
#1D0307
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #1a040c;
/* rgb */ color: rgb(26, 4, 12);
/* oklch */ color: oklch(15.5% 0.044 358.3);
Tailwind
colors: {
  custom: {
    50: '#55484c',
    500: '#1a040c',
    950: '#000000',
  },
}
SCSS
$custom: #1a040c;
$custom-light: #55484c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a040c",
  "rgb": {
    "r": 26,
    "g": 4,
    "b": 12
  },
  "hsl": {
    "h": 338.182,
    "s": 73.333,
    "l": 5.882
  },
  "oklch": {
    "l": 0.15505,
    "c": 0.04378,
    "h": 358.3
  },
  "luminance": 0.00333
}

Semantic roles & 50–950 ramp

primary
#1A040C
secondary
#1E5C45
accent
#F0AD38
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#030001
muted
#787777

Preview Lab

Preview with #1A040C

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

Preview Lab → · Contrast checker → · Palette generator →

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