Colorise ProOKLCH Engine
ExploreStudioNamesPickerPairs
ExploreStudioNamesPickerPairsContrastExtract
Menu

Product

  • Home
  • Explore
  • Studio
  • Color Names

Tools

  • Picker
  • Color Pairs
  • Contrast
  • Image Extract
  • Gradient Lab
  • Palette Diff
  • Brand from URL

Guides

  • All guides
  • OKLCH vs HSL
  • WCAG vs APCA
  • OKLCH color scales
  • Gamut & sRGB
  • Extract from images
  • HEX to OKLCH
  • Dark mode colors
  • Color meanings
Home/Colors/#1F1422

Nearest named color · #1F1422

#1F1422

Nearest named color: Shot in the Dark

#1F1422 (rgb(31 20 34), hsl(287 26% 11%), oklch(0.212 0.031 318.9)) is closest to the named color Shot in the Dark. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.

What does Gray mean? →

#1F1422

oklch(0.212 0.031 318.9)

Color conversions

HEX
#1f1422
RGB
rgb(31 20 34)
HSL
hsl(287 26% 11%)
HWB
hwb(287 8% 87%)
OKLCH
oklch(0.212 0.031 318.9)
OKLab
oklab(0.212 0.024 -0.021)
CIE Lab
lab(8.16 8.28 -7.56)
LCH
lch(8.16 11.21 317.6)
CMYK
cmyk(9% 41% 0% 87%)

Tints · Shades · Tones

Tints

  • 322735
  • 463C48
  • 5A515D
  • 706872
  • 867F88
  • 9D979F
  • B5B0B6
  • CDCACE
  • E6E4E6

Shades

  • 19101C
  • 140C16
  • 0F0811
  • 0A050B
  • 060307
  • 030103
  • 010101
  • 000000
  • 000000

Tones

  • 281D2B
  • 312733
  • 3A313C
  • 433C45
  • 4D474F
  • 575258
  • 615D62
  • 6B686C
  • 757476

Color harmonies

Complementary +180°

  • 1F1422

    Shot in the Dark

  • 111C0E

    ≈ Pinch of Pepper

Analogous -30° +30°

  • 1F1422

    Shot in the Dark

  • 181626

    ≈ Sambucus

  • 24131B

    ≈ Bats Cloak

Triadic +120° +240°

  • 1F1422

    Shot in the Dark

  • 211707

    ≈ Noir Mystique

  • 041D1E

    ≈ Black Stallion

Split-complementary +150° +210°

  • 1F1422

    Shot in the Dark

  • 1A1A08

    ≈ Noir Mystique

  • 081D16

    ≈ Pinch of Pepper

Tetradic +90° +180° +270°

  • 1F1422

    Shot in the Dark

  • 25140B

    ≈ Used Oil

  • 111C0E

    ≈ Pinch of Pepper

  • 071B24

    ≈ Creeping Death

Contrast & accessibility

Ag

On white

WCAG 17.77:1 · APCA Lc 105

AAA
Ag

On black

WCAG 1.18:1 · APCA Lc 0

Fail

Best text color: #FFFFFF

WCAG 17.77:1 (AAA) · APCA Lc 105

Contrast pairs

  • #1F1422 / #FFFFFF
  • #1F1422 / #000000
  • #FFFFFF / #1F1422
  • #000000 / #1F1422

Code snippets

CSS

:root {
  --shot-in-the-dark: #1f1422;
  --shot-in-the-dark-rgb: 31 20 34;
  --shot-in-the-dark-oklch: oklch(0.212 0.031 318.9);
}

.element {
  color: var(--shot-in-the-dark);
  background-color: hsl(287 26% 11%);
  border-color: oklch(0.212 0.031 318.9);
}

Tailwind CSS v4

@theme {
  --color-shot-in-the-dark: #1f1422;
  --color-shot-in-the-dark-50: #f9f2fb;
  --color-shot-in-the-dark-100: #ede5ee;
  --color-shot-in-the-dark-200: #dbd0dd;
  --color-shot-in-the-dark-300: #bfb2c1;
  --color-shot-in-the-dark-400: #a799ab;
  --color-shot-in-the-dark-500: #8f8094;
  --color-shot-in-the-dark-600: #796c7d;
  --color-shot-in-the-dark-700: #615764;
  --color-shot-in-the-dark-800: #473f4a;
  --color-shot-in-the-dark-900: #312b33;
  --color-shot-in-the-dark-950: #1d191f;
}

SCSS

$shot-in-the-dark: #1f1422;
$shot-in-the-dark-rgb: 31, 20, 34;
$shot-in-the-dark-light: mix(#fff, $shot-in-the-dark, 20%);
$shot-in-the-dark-dark: mix(#000, $shot-in-the-dark, 20%);

.element {
  color: $shot-in-the-dark;
  box-shadow: 0 0 0 2px rgba($shot-in-the-dark, 0.35);
}

Similar named colors

  • 221122

    Inside

  • 1A161D

    Violet Void

  • 1F1518

    Bats Cloak

  • 16141C

    Back in Black

  • 16161D

    Eigengrau

  • 161820

    River Styx

  • 23191E

    Kurobeni

  • 1D0D1D

    Shot in the Dark

  • 17182B

    Sambucus

  • 15151C

    Absence of Light

  • 14151D

    Kuroi Black

  • 181B26

    Coarse Wool

Palettes with similar colors

  • Atomic Magentleman PrismRed · UI System
  • Crown Jewels CascadePink · 7 Colors
  • True Legendary Lavender SystemPink · 3 Colors
  • True Vintage DunePink · Gray
  • Vicious Violet HarborRed · UI System
  • Classic Vicious Violet KilnPink · Gray

Open in tools

PickerPairsContrast checkerStudioJSON API
Colorise Pro

Free OKLCH color workspace: precision color picker, color pairs, WCAG & APCA contrast checker, palette from image, Studio systems, names, gradients, and brand tools. Export HEX, CSS, Tailwind & DTCG.

OKLCH Engine

Product

  • Home
  • Explore
  • Studio
  • Color Names
  • Color Codes

Tools

  • Color Picker
  • Color Pairs
  • Contrast Checker
  • Image Extract
  • Gradient Lab
  • Palette Diff
  • Brand from URL
  • For presentations
  • For business cards
  • For SaaS landings
  • Duo pairs
  • Trio systems

Guides

  • All guides
  • OKLCH vs HSL
  • WCAG vs APCA
  • OKLCH color scales
  • Gamut & sRGB
  • Extract from images
  • HEX to OKLCH
  • Dark mode colors
  • Color meanings

Legal

  • Privacy
  • Terms

© 2026 Colorise Pro. All rights reserved.

© 2026 Colorise Pro. Built for precision color work.

Report infringement: [email protected] (Colorise Pro)

PrivacyTermsOKLCH · WCAG · APCA