#01271D#01271D

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

Color values

HEX#01271D
RGBrgb(1, 39, 29)
HSLhsl(164, 95%, 8%)
HSVhsv(164, 97%, 15%)
CMYKcmyk(97.4%, 0%, 25.6%, 84.7%)
CIE-LABlab(12.90, -16.49, 2.86)
CIE-LCHlch(12.90, 16.74, 170.17°)
OKLaboklab(24.33% -0.046 0.0073)
OKLCHoklch(24.33% 0.047 171)
XYZxyz(0.9597, 1.5461, 1.4100)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#01271D #27010B
analogous
#01270A #01271D #011E27
triadic
#01271D #1D0127 #271D01
tetradic
#01271D #0A0127 #27010B #1E2701
square
#01271D #0A0127 #27010B #1E2701
split-complementary
#01271D #27011E #270A01
monochromatic
#011E16 #011E16 #01271D #036349 #049E76

Accessibility & contrast

On white

16.04
#01271D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #01271D
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##01271D#FFFFFF#000000##FFFFFF
##01271D1.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231D
Deuteranopia (green-blind)
#20201E
Tritanopia (blue-blind)
#002724
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #01271d;
/* rgb */ color: rgb(1, 39, 29);
/* oklch */ color: oklch(24.3% 0.047 171.0);
Tailwind
colors: {
  custom: {
    50: '#486158',
    500: '#01271d',
    950: '#000000',
  },
}
SCSS
$custom: #01271d;
$custom-light: #486158;
$custom-dark: #000000;
JSON
{
  "hex": "#01271d",
  "rgb": {
    "r": 1,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 164.211,
    "s": 95,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24329,
    "c": 0.04659,
    "h": 171
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#01271D
secondary
#6E162D
accent
#2961FF
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#010503
muted
#777978

Preview Lab

Preview with #01271D

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

Preview Lab → · Contrast checker → · Palette generator →

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