#22031C#22031C

#22031C is a very dark, moderate pink. Relative luminance 0.005; OKLCH L 17.9% C 0.067 H 336.4°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#22031C
RGBrgb(34, 3, 28)
HSLhsl(312, 84%, 7%)
HSVhsv(312, 91%, 13%)
CMYKcmyk(0%, 91.2%, 17.6%, 86.7%)
CIE-LABlab(4.42, 17.85, -8.62)
CIE-LCHlch(4.42, 19.82, 334.22°)
OKLaboklab(17.87% 0.0617 -0.0269)
OKLCHoklch(17.87% 0.067 336.4)
XYZxyz(0.9019, 0.4891, 1.1453)
Luminance0.0049 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22031C #032209
analogous
#190322 #22031C #22030D
triadic
#22031C #1C2203 #031C22
tetradic
#22031C #221903 #032209 #030D22
square
#22031C #221903 #032209 #030D22
split-complementary
#22031C #0D2203 #032219
monochromatic
#1C0217 #1C0217 #22031C #5A084A #920D79

Accessibility & contrast

On white

19.13
#22031C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#22031C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22031C
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22031C#FFFFFF#000000##FFFFFF
##22031C1.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#030C1D
Deuteranopia (green-blind)
#0D111B
Tritanopia (blue-blind)
#24040E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #22031c;
/* rgb */ color: rgb(34, 3, 28);
/* oklch */ color: oklch(17.9% 0.067 336.4);
Tailwind
colors: {
  custom: {
    50: '#5d4758',
    500: '#22031c',
    950: '#000000',
  },
}
SCSS
$custom: #22031c;
$custom-light: #5d4758;
$custom-dark: #000000;
JSON
{
  "hex": "#22031c",
  "rgb": {
    "r": 34,
    "g": 3,
    "b": 28
  },
  "hsl": {
    "h": 311.613,
    "s": 83.784,
    "l": 7.255
  },
  "oklch": {
    "l": 0.17866,
    "c": 0.06726,
    "h": 336.4
  },
  "luminance": 0.00489
}

Semantic roles & 50–950 ramp

primary
#22031C
secondary
#1B6629
accent
#FA552E
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040003
muted
#797778

Preview Lab

Preview with #22031C

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

Preview Lab → · Contrast checker → · Palette generator →

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