#22071C#22071C

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

Color values

HEX#22071C
RGBrgb(34, 7, 28)
HSLhsl(313, 66%, 8%)
HSVhsv(313, 79%, 13%)
CMYKcmyk(0%, 79.4%, 17.6%, 86.7%)
CIE-LABlab(5.20, 16.13, -7.45)
CIE-LCHlch(5.20, 17.77, 335.22°)
OKLaboklab(18.67% 0.0525 -0.0221)
OKLCHoklch(18.67% 0.057 337.2)
XYZxyz(0.9453, 0.5760, 1.1598)
Luminance0.0058 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22071C #07220D
analogous
#1A0722 #22071C #22070E
triadic
#22071C #1C2207 #071C22
tetradic
#22071C #221A07 #07220D #070E22
square
#22071C #221A07 #07220D #070E22
split-complementary
#22071C #0E2207 #07221A
monochromatic
#190515 #190515 #22071C #551146 #881C70

Accessibility & contrast

On white

18.83
#22071C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22071C
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22071C#FFFFFF#000000##FFFFFF
##22071C1.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#080F1D
Deuteranopia (green-blind)
#10131B
Tritanopia (blue-blind)
#240810
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #22071c;
/* rgb */ color: rgb(34, 7, 28);
/* oklch */ color: oklch(18.7% 0.057 337.2);
Tailwind
colors: {
  custom: {
    50: '#5d4958',
    500: '#22071c',
    950: '#000000',
  },
}
SCSS
$custom: #22071c;
$custom-light: #5d4958;
$custom-dark: #000000;
JSON
{
  "hex": "#22071c",
  "rgb": {
    "r": 34,
    "g": 7,
    "b": 28
  },
  "hsl": {
    "h": 313.333,
    "s": 65.854,
    "l": 8.039
  },
  "oklch": {
    "l": 0.18668,
    "c": 0.05695,
    "h": 337.2
  },
  "luminance": 0.00576
}

Semantic roles & 50–950 ramp

primary
#22071C
secondary
#246131
accent
#E9653F
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040103
muted
#797778

Preview Lab

Preview with #22071C

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

Preview Lab → · Contrast checker → · Palette generator →

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