#22040C#22040C

#22040C is a very dark, muted pink. Relative luminance 0.005; OKLCH L 17.3% C 0.054 H 6.6°. Best body text is #FFFFFF at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#22040C
RGBrgb(34, 4, 12)
HSLhsl(344, 79%, 7%)
HSVhsv(344, 88%, 13%)
CMYKcmyk(0%, 88.2%, 64.7%, 86.7%)
CIE-LABlab(4.10, 13.86, 1.42)
CIE-LCHlch(4.10, 13.93, 5.84°)
OKLaboklab(17.25% 0.0538 0.0062)
OKLCHoklch(17.25% 0.054 6.6)
XYZxyz(0.7695, 0.4536, 0.3948)
Luminance0.0045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22040C #04221A
analogous
#22041B #22040C #220B04
triadic
#22040C #0C2204 #040C22
tetradic
#22040C #1B2204 #04221A #0B0422
square
#22040C #1B2204 #04221A #0B0422
split-complementary
#22040C #04220B #041B22
monochromatic
#1B030A #1B030A #22040C #590A1F #901133

Accessibility & contrast

On white

19.26
#22040C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#22040C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22040C
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22040C#FFFFFF#000000##FFFFFF
##22040C1.0019.261.0919.26
#FFFFFF19.261.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0A0C
Deuteranopia (green-blind)
#12110B
Tritanopia (blue-blind)
#260107
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #22040c;
/* rgb */ color: rgb(34, 4, 12);
/* oklch */ color: oklch(17.3% 0.054 6.6);
Tailwind
colors: {
  custom: {
    50: '#5d484c',
    500: '#22040c',
    950: '#000000',
  },
}
SCSS
$custom: #22040c;
$custom-light: #5d484c;
$custom-dark: #000000;
JSON
{
  "hex": "#22040c",
  "rgb": {
    "r": 34,
    "g": 4,
    "b": 12
  },
  "hsl": {
    "h": 344,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17252,
    "c": 0.05413,
    "h": 6.6
  },
  "luminance": 0.00453
}

Semantic roles & 50–950 ramp

primary
#22040C
secondary
#1D6552
accent
#F5C132
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #22040C

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

Preview Lab → · Contrast checker → · Palette generator →

#22040C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva