#22071D#22071D

#22071D is a very dark, muted pink. Relative luminance 0.006; OKLCH L 18.7% C 0.058 H 335.5°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#22071D
RGBrgb(34, 7, 29)
HSLhsl(311, 66%, 8%)
HSVhsv(311, 79%, 13%)
CMYKcmyk(0%, 79.4%, 14.7%, 86.7%)
CIE-LABlab(5.25, 16.40, -8.17)
CIE-LCHlch(5.25, 18.33, 333.53°)
OKLaboklab(18.73% 0.0527 -0.024)
OKLCHoklch(18.73% 0.058 335.5)
XYZxyz(0.9574, 0.5808, 1.2238)
Luminance0.0058 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22071D #07220C
analogous
#190722 #22071D #22070F
triadic
#22071D #1D2207 #071D22
tetradic
#22071D #221907 #07220C #070F22
square
#22071D #221907 #07220C #070F22
split-complementary
#22071D #0F2207 #072219
monochromatic
#190516 #190516 #22071D #551148 #881C74

Accessibility & contrast

On white

18.81
#22071D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#22071D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22071D
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22071D#FFFFFF#000000##FFFFFF
##22071D1.0018.811.1218.81
#FFFFFF18.811.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#070F1E
Deuteranopia (green-blind)
#0F131C
Tritanopia (blue-blind)
#240810
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #22071d;
/* rgb */ color: rgb(34, 7, 29);
/* oklch */ color: oklch(18.7% 0.058 335.5);
Tailwind
colors: {
  custom: {
    50: '#5d4958',
    500: '#22071d',
    950: '#000000',
  },
}
SCSS
$custom: #22071d;
$custom-light: #5d4958;
$custom-dark: #000000;
JSON
{
  "hex": "#22071d",
  "rgb": {
    "r": 34,
    "g": 7,
    "b": 29
  },
  "hsl": {
    "h": 311.111,
    "s": 65.854,
    "l": 8.039
  },
  "oklch": {
    "l": 0.1873,
    "c": 0.05795,
    "h": 335.5
  },
  "luminance": 0.00581
}

Semantic roles & 50–950 ramp

primary
#22071D
secondary
#24612F
accent
#E95E3F
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040103
muted
#797778

Preview Lab

Preview with #22071D

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

Preview Lab → · Contrast checker → · Palette generator →

#22071D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva