#220218#220218

#220218 is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 17.4% C 0.067 H 342.4°. Best body text is #FFFFFF at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#220218
RGBrgb(34, 2, 24)
HSLhsl(319, 89%, 7%)
HSVhsv(319, 94%, 13%)
CMYKcmyk(0%, 94.1%, 29.4%, 86.7%)
CIE-LABlab(4.06, 17.17, -5.96)
CIE-LCHlch(4.06, 18.17, 340.85°)
OKLaboklab(17.39% 0.0636 -0.0202)
OKLCHoklch(17.39% 0.067 342.4)
XYZxyz(0.8463, 0.4495, 0.9062)
Luminance0.0045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220218 #02220C
analogous
#1C0222 #220218 #220208
triadic
#220218 #182202 #021822
tetradic
#220218 #221C02 #02220C #020822
square
#220218 #221C02 #02220C #020822
split-complementary
#220218 #082202 #02221C
monochromatic
#1D0214 #1D0214 #220218 #5C0541 #96096A

Accessibility & contrast

On white

19.27
#220218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#220218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220218
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220218#FFFFFF#000000##FFFFFF
##2202181.0019.271.0919.27
#FFFFFF19.271.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040B19
Deuteranopia (green-blind)
#0E1017
Tritanopia (blue-blind)
#25020B
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #220218;
/* rgb */ color: rgb(34, 2, 24);
/* oklch */ color: oklch(17.4% 0.067 342.4);
Tailwind
colors: {
  custom: {
    50: '#5d4754',
    500: '#220218',
    950: '#000000',
  },
}
SCSS
$custom: #220218;
$custom-light: #5d4754;
$custom-dark: #000000;
JSON
{
  "hex": "#220218",
  "rgb": {
    "r": 34,
    "g": 2,
    "b": 24
  },
  "hsl": {
    "h": 318.75,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.17392,
    "c": 0.06675,
    "h": 342.4
  },
  "luminance": 0.00449
}

Semantic roles & 50–950 ramp

primary
#220218
secondary
#186831
accent
#FF6C29
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040002
muted
#797778

Preview Lab

Preview with #220218

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

Preview Lab → · Contrast checker → · Palette generator →

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