#12201F#12201F

#12201F is a very dark, near-neutral teal. Relative luminance 0.013; OKLCH L 23.0% C 0.019 H 190.2°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#12201F
RGBrgb(18, 32, 31)
HSLhsl(176, 28%, 10%)
HSVhsv(176, 44%, 13%)
CMYKcmyk(43.8%, 0%, 3.1%, 87.5%)
CIE-LABlab(11.00, -6.32, -1.25)
CIE-LCHlch(11.00, 6.44, 191.18°)
OKLaboklab(23.04% -0.0191 -0.0035)
OKLCHoklch(23.04% 0.019 190.2)
XYZxyz(1.0132, 1.2605, 1.4860)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12201F #201213
analogous
#122018 #12201F #121A20
triadic
#12201F #1F1220 #201F12
tetradic
#12201F #181220 #201213 #1A2012
square
#12201F #181220 #201213 #1A2012
split-complementary
#12201F #20121A #201812
monochromatic
#0B1413 #0B1413 #12201F #284745 #3E6E6B

Accessibility & contrast

On white

16.77
#12201F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#12201F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12201F
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12201F#FFFFFF#000000##FFFFFF
##12201F1.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1F1F
Deuteranopia (green-blind)
#1C1D1F
Tritanopia (blue-blind)
#0D2120
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #12201f;
/* rgb */ color: rgb(18, 32, 31);
/* oklch */ color: oklch(23.0% 0.019 190.2);
Tailwind
colors: {
  custom: {
    50: '#505b5a',
    500: '#12201f',
    950: '#000000',
  },
}
SCSS
$custom: #12201f;
$custom-light: #505b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#12201f",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 31
  },
  "hsl": {
    "h": 175.714,
    "s": 28,
    "l": 9.804
  },
  "oklch": {
    "l": 0.23036,
    "c": 0.01946,
    "h": 190.2
  },
  "luminance": 0.01261
}

Semantic roles & 50–950 ramp

primary
#12201F
secondary
#55393B
accent
#636AC4
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#020403
muted
#787978

Preview Lab

Preview with #12201F

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

Preview Lab → · Contrast checker → · Palette generator →

#12201F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva