#220217#220217

#220217 is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 17.3% C 0.066 H 344.0°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#220217
RGBrgb(34, 2, 23)
HSLhsl(321, 89%, 7%)
HSVhsv(321, 94%, 13%)
CMYKcmyk(0%, 94.1%, 32.4%, 86.7%)
CIE-LABlab(4.02, 16.90, -5.25)
CIE-LCHlch(4.02, 17.70, 342.73°)
OKLaboklab(17.33% 0.0634 -0.0182)
OKLCHoklch(17.33% 0.066 344)
XYZxyz(0.8361, 0.4455, 0.8524)
Luminance0.0044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#220217 #02220D
analogous
#1D0222 #220217 #220207
triadic
#220217 #172202 #021722
tetradic
#220217 #221D02 #02220D #020722
square
#220217 #221D02 #02220D #020722
split-complementary
#220217 #072202 #02221D
monochromatic
#1D0214 #1D0214 #220217 #5C053E #960965

Accessibility & contrast

On white

19.28
#220217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #220217
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##220217#FFFFFF#000000##FFFFFF
##2202171.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040A18
Deuteranopia (green-blind)
#0E1016
Tritanopia (blue-blind)
#25020A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #220217;
/* rgb */ color: rgb(34, 2, 23);
/* oklch */ color: oklch(17.3% 0.066 344.0);
Tailwind
colors: {
  custom: {
    50: '#5d4753',
    500: '#220217',
    950: '#000000',
  },
}
SCSS
$custom: #220217;
$custom-light: #5d4753;
$custom-dark: #000000;
JSON
{
  "hex": "#220217",
  "rgb": {
    "r": 34,
    "g": 2,
    "b": 23
  },
  "hsl": {
    "h": 320.625,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.17331,
    "c": 0.06596,
    "h": 344
  },
  "luminance": 0.00445
}

Semantic roles & 50–950 ramp

primary
#220217
secondary
#186833
accent
#FF7229
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040002
muted
#797778

Preview Lab

Preview with #220217

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

Preview Lab → · Contrast checker → · Palette generator →

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