#01271C#01271C

#01271C is a very dark, muted teal. Relative luminance 0.015; OKLCH L 24.3% C 0.048 H 169.1°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#01271C
RGBrgb(1, 39, 28)
HSLhsl(163, 95%, 8%)
HSVhsv(163, 97%, 15%)
CMYKcmyk(97.4%, 0%, 28.2%, 84.7%)
CIE-LABlab(12.87, -16.82, 3.53)
CIE-LCHlch(12.87, 17.19, 168.15°)
OKLaboklab(24.29% -0.0466 0.009)
OKLCHoklch(24.29% 0.048 169.1)
XYZxyz(0.9475, 1.5412, 1.3459)
Luminance0.0154 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01271C #27010C
analogous
#012709 #01271C #011F27
triadic
#01271C #1C0127 #271C01
tetradic
#01271C #090127 #27010C #1F2701
square
#01271C #090127 #27010C #1F2701
split-complementary
#01271C #27011F #270901
monochromatic
#011E15 #011E15 #01271C #036347 #049E72

Accessibility & contrast

On white

16.05
#01271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#01271C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #01271C
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01271C#FFFFFF#000000##FFFFFF
##01271C1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26231B
Deuteranopia (green-blind)
#21201D
Tritanopia (blue-blind)
#002724
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #01271c;
/* rgb */ color: rgb(1, 39, 28);
/* oklch */ color: oklch(24.3% 0.048 169.1);
Tailwind
colors: {
  custom: {
    50: '#486158',
    500: '#01271c',
    950: '#000000',
  },
}
SCSS
$custom: #01271c;
$custom-light: #486158;
$custom-dark: #000000;
JSON
{
  "hex": "#01271c",
  "rgb": {
    "r": 1,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 162.632,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24294,
    "c": 0.0475,
    "h": 169.1
  },
  "luminance": 0.01541
}

Semantic roles & 50–950 ramp

primary
#01271C
secondary
#6E162F
accent
#2967FF
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #01271C

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

Preview Lab → · Contrast checker → · Palette generator →

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