#220018#220018

#220018 is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 16.9% C 0.073 H 341.7°. Best body text is #FFFFFF at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#220018
RGBrgb(34, 0, 24)
HSLhsl(318, 100%, 7%)
HSVhsv(318, 100%, 13%)
CMYKcmyk(0%, 100%, 29.4%, 86.7%)
CIE-LABlab(3.67, 17.97, -6.53)
CIE-LCHlch(3.67, 19.12, 340.02°)
OKLaboklab(16.93% 0.0693 -0.023)
OKLCHoklch(16.93% 0.073 341.7)
XYZxyz(0.8246, 0.4061, 0.8989)
Luminance0.0041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220018 #00220A
analogous
#1B0022 #220018 #220007
triadic
#220018 #182200 #001822
tetradic
#220018 #221B00 #00220A #000722
square
#220018 #221B00 #00220A #000722
split-complementary
#220018 #072200 #00221B
monochromatic
#1F0016 #1F0016 #220018 #5F0043 #9C006E

Accessibility & contrast

On white

19.42
#220018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#220018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #220018
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220018#FFFFFF#000000##FFFFFF
##2200181.0019.421.0819.42
#FFFFFF19.421.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020919
Deuteranopia (green-blind)
#0C0F17
Tritanopia (blue-blind)
#250009
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #220018;
/* rgb */ color: rgb(34, 0, 24);
/* oklch */ color: oklch(16.9% 0.073 341.7);
Tailwind
colors: {
  custom: {
    50: '#5d4654',
    500: '#220018',
    950: '#000000',
  },
}
SCSS
$custom: #220018;
$custom-light: #5d4654;
$custom-dark: #000000;
JSON
{
  "hex": "#220018",
  "rgb": {
    "r": 34,
    "g": 0,
    "b": 24
  },
  "hsl": {
    "h": 317.647,
    "s": 100,
    "l": 6.667
  },
  "oklch": {
    "l": 0.16935,
    "c": 0.07303,
    "h": 341.7
  },
  "luminance": 0.00406
}

Semantic roles & 50–950 ramp

primary
#220018
secondary
#136B2D
accent
#FF6829
background
#F5F3F4
surface
#E9E5E7
border
#C5C1C3
text
#040002
muted
#797778

Preview Lab

Preview with #220018

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

Preview Lab → · Contrast checker → · Palette generator →

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