#220418#220418

#220418 is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 17.8% C 0.061 H 343.2°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#220418
RGBrgb(34, 4, 24)
HSLhsl(320, 79%, 7%)
HSVhsv(320, 88%, 13%)
CMYKcmyk(0%, 88.2%, 29.4%, 86.7%)
CIE-LABlab(4.45, 16.35, -5.39)
CIE-LCHlch(4.45, 17.22, 341.77°)
OKLaboklab(17.83% 0.0584 -0.0176)
OKLCHoklch(17.83% 0.061 343.2)
XYZxyz(0.8680, 0.4930, 0.9134)
Luminance0.0049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220418 #04220E
analogous
#1D0422 #220418 #220409
triadic
#220418 #182204 #041822
tetradic
#220418 #221D04 #04220E #040922
square
#220418 #221D04 #04220E #040922
split-complementary
#220418 #092204 #04221D
monochromatic
#1B0313 #1B0313 #220418 #590A3F #901165

Accessibility & contrast

On white

19.12
#220418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#220418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220418
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220418#FFFFFF#000000##FFFFFF
##2204181.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#060C19
Deuteranopia (green-blind)
#0F1117
Tritanopia (blue-blind)
#25040C
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #220418;
/* rgb */ color: rgb(34, 4, 24);
/* oklch */ color: oklch(17.8% 0.061 343.2);
Tailwind
colors: {
  custom: {
    50: '#5d4854',
    500: '#220418',
    950: '#000000',
  },
}
SCSS
$custom: #220418;
$custom-light: #5d4854;
$custom-dark: #000000;
JSON
{
  "hex": "#220418",
  "rgb": {
    "r": 34,
    "g": 4,
    "b": 24
  },
  "hsl": {
    "h": 320,
    "s": 78.947,
    "l": 7.451
  },
  "oklch": {
    "l": 0.17825,
    "c": 0.06102,
    "h": 343.2
  },
  "luminance": 0.00493
}

Semantic roles & 50–950 ramp

primary
#220418
secondary
#1D6535
accent
#F57332
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040002
muted
#797778

Preview Lab

Preview with #220418

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

Preview Lab → · Contrast checker → · Palette generator →

#220418 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva