#081212#081212

#081212 is a very dark, near-neutral teal. Relative luminance 0.005; OKLCH L 17.2% C 0.015 H 195.9°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#081212
RGBrgb(8, 18, 18)
HSLhsl(180, 38%, 5%)
HSVhsv(180, 56%, 7%)
CMYKcmyk(55.6%, 0%, 0%, 92.9%)
CIE-LABlab(4.77, -3.12, -1.10)
CIE-LCHlch(4.77, 3.31, 199.40°)
OKLaboklab(17.24% -0.0144 -0.0041)
OKLCHoklch(17.24% 0.015 195.9)
XYZxyz(0.4256, 0.5279, 0.6516)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#081212 #120808
analogous
#08120D #081212 #080D12
triadic
#081212 #120812 #121208
tetradic
#081212 #0D0812 #120808 #0D1208
square
#081212 #0D0812 #120808 #0D1208
split-complementary
#081212 #12080D #120D08
monochromatic
#091515 #091515 #091515 #1B3C3C #2E6767

Accessibility & contrast

On white

18.99
#081212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#081212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #081212
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##081212#FFFFFF#000000##FFFFFF
##0812121.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111112
Deuteranopia (green-blind)
#0F1012
Tritanopia (blue-blind)
#051312
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #081212;
/* rgb */ color: rgb(8, 18, 18);
/* oklch */ color: oklch(17.2% 0.015 195.9);
Tailwind
colors: {
  custom: {
    50: '#4a4f50',
    500: '#081212',
    950: '#000000',
  },
}
SCSS
$custom: #081212;
$custom-light: #4a4f50;
$custom-dark: #000000;
JSON
{
  "hex": "#081212",
  "rgb": {
    "r": 8,
    "g": 18,
    "b": 18
  },
  "hsl": {
    "h": 180,
    "s": 38.462,
    "l": 5.098
  },
  "oklch": {
    "l": 0.17237,
    "c": 0.01496,
    "h": 195.9
  },
  "luminance": 0.00528
}

Semantic roles & 50–950 ramp

primary
#081212
secondary
#4B2B2B
accent
#5959CE
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010202
muted
#777878

Preview Lab

Preview with #081212

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

Preview Lab → · Contrast checker → · Palette generator →

#081212 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva