#20181C#20181C

#20181C is a very dark, near-neutral pink. Relative luminance 0.010; OKLCH L 22.0% C 0.015 H 346.8°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#20181C
RGBrgb(32, 24, 28)
HSLhsl(330, 14%, 11%)
HSVhsv(330, 25%, 13%)
CMYKcmyk(0%, 25%, 12.5%, 87.5%)
CIE-LABlab(9.35, 4.89, -1.29)
CIE-LCHlch(9.35, 5.06, 345.28°)
OKLaboklab(22.05% 0.0143 -0.0033)
OKLCHoklch(22.05% 0.015 346.8)
XYZxyz(1.1319, 1.0442, 1.2403)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20181C #18201C
analogous
#201820 #20181C #201818
triadic
#20181C #1C2018 #181C20
tetradic
#20181C #202018 #18201C #181820
square
#20181C #202018 #18201C #181820
split-complementary
#20181C #182018 #182020
monochromatic
#110D0F #110D0F #20181C #43323B #664C59

Accessibility & contrast

On white

17.37
#20181C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#20181C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20181C
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20181C#FFFFFF#000000##FFFFFF
##20181C1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19191C
Deuteranopia (green-blind)
#1A1B1C
Tritanopia (blue-blind)
#211819
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #20181c;
/* rgb */ color: rgb(32, 24, 28);
/* oklch */ color: oklch(22.0% 0.015 346.8);
Tailwind
colors: {
  custom: {
    50: '#5b5457',
    500: '#20181c',
    950: '#000000',
  },
}
SCSS
$custom: #20181c;
$custom-light: #5b5457;
$custom-dark: #000000;
JSON
{
  "hex": "#20181c",
  "rgb": {
    "r": 32,
    "g": 24,
    "b": 28
  },
  "hsl": {
    "h": 330,
    "s": 14.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22045,
    "c": 0.01469,
    "h": 346.8
  },
  "luminance": 0.01044
}

Semantic roles & 50–950 ramp

primary
#20181C
secondary
#43514A
accent
#B79471
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040203
muted
#797878

Preview Lab

Preview with #20181C

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

Preview Lab → · Contrast checker → · Palette generator →

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