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/#021C0D

Nearest named color · #021C0D

#021C0D

Nearest named color: Nightmare

#021C0D (rgb(2 28 13), hsl(145 87% 6%), oklch(0.201 0.045 155.6)) is closest to the named color Nightmare. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.

What does Green mean? →

#021C0D

oklch(0.201 0.045 155.6)

Color conversions

HEX
#021c0d
RGB
rgb(2 28 13)
HSL
hsl(145 87% 6%)
HWB
hwb(145 1% 89%)
OKLCH
oklch(0.201 0.045 155.6)
OKLab
oklab(0.201 -0.041 0.019)
CIE Lab
lab(7.86 -12.44 5.99)
LCH
lch(7.86 13.8 154.3)
CMYK
cmyk(93% 0% 54% 89%)

Tints · Shades · Tones

Tints

  • 172F20
  • 2E4335
  • 45584B
  • 5D6E62
  • 76857B
  • 909C94
  • ABB4AD
  • C6CCC8
  • E2E5E3

Shades

  • 01170A
  • 011207
  • 010D05
  • 000803
  • 000502
  • 000201
  • 000100
  • 000000
  • 000000

Tones

  • 0D2517
  • 1A2E21
  • 26382C
  • 324237
  • 3E4C43
  • 4B564E
  • 58605A
  • 656B67
  • 727573

Color harmonies

Complementary +180°

  • 021C0D

    Nightmare

  • 220D1E

    ≈ Meški Black

Analogous -30° +30°

  • 021C0D

    Nightmare

  • 111A02

    ≈ Pinch of Pepper

  • 001B18

    ≈ Black Stallion

Triadic +120° +240°

  • 021C0D

    Nightmare

  • 11142A

    ≈ Liberty Blue

  • 270E07

    ≈ Root Brew

Split-complementary +150° +210°

  • 021C0D

    Nightmare

  • 1B1026

    ≈ Inside

  • 270C13

    ≈ Italian Roast

Tetradic +90° +180° +270°

  • 021C0D

    Nightmare

  • 031829

    ≈ Creeping Death

  • 220D1E

    ≈ Meški Black

  • 241100

    ≈ Super Black

Contrast & accessibility

Ag

On white

WCAG 17.88:1 · APCA Lc 104

AAA
Ag

On black

WCAG 1.17:1 · APCA Lc 0

Fail

Best text color: #FFFFFF

WCAG 17.88:1 (AAA) · APCA Lc 104

Contrast pairs

  • #021C0D / #FFFFFF
  • #021C0D / #000000
  • #FFFFFF / #021C0D
  • #000000 / #021C0D

Code snippets

CSS

:root {
  --nightmare: #021c0d;
  --nightmare-rgb: 2 28 13;
  --nightmare-oklch: oklch(0.201 0.045 155.6);
}

.element {
  color: var(--nightmare);
  background-color: hsl(145 87% 6%);
  border-color: oklch(0.201 0.045 155.6);
}

Tailwind CSS v4

@theme {
  --color-nightmare: #021c0d;
  --color-nightmare-50: #ebf9f0;
  --color-nightmare-100: #dcede2;
  --color-nightmare-200: #c5dacd;
  --color-nightmare-300: #a5bfaf;
  --color-nightmare-400: #8aa793;
  --color-nightmare-500: #6e8f7a;
  --color-nightmare-600: #5e7967;
  --color-nightmare-700: #4b6152;
  --color-nightmare-800: #36473b;
  --color-nightmare-900: #253129;
  --color-nightmare-950: #141d16;
}

SCSS

$nightmare: #021c0d;
$nightmare-rgb: 2, 28, 13;
$nightmare-light: mix(#fff, $nightmare, 20%);
$nightmare-dark: mix(#000, $nightmare, 20%);

.element {
  color: $nightmare;
  box-shadow: 0 0 0 2px rgba($nightmare, 0.35);
}

Similar named colors

  • 0F180A

    Pinch of Pepper

  • 002211

    Clock Chimes Thirteen

  • 031602

    Oil Slick

  • 112211

    Nightmare

  • 002200

    Rainforest Nights

  • 16160E

    Darkness

  • 112200

    Yuzu Soy

  • 002222

    Stellar Explorer

  • 0E191C

    Black Stallion

  • 141513

    Distinctive Lack of Hue

  • 12221D

    Black Emerald

  • 002400

    Tides of Darkness

Palettes with similar colors

  • Steady Exhilarating Green HorizonGreen · 4 Colors
  • True Jade CascadeGreen · Cold
  • Jubilant Jade StudioGreen · Cold
  • Classic Paying Mantis SystemGreen · Gray
  • Clear Enchanted Emerald CanvasGreen · Cold
  • Steady Shamrock FogGreen · Cold

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