#07271F#07271F

#07271F is a very dark, muted teal. Relative luminance 0.016; OKLCH L 24.7% C 0.040 H 173.2°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#07271F
RGBrgb(7, 39, 31)
HSLhsl(165, 70%, 9%)
HSVhsv(165, 82%, 15%)
CMYKcmyk(82.1%, 0%, 20.5%, 84.7%)
CIE-LABlab(13.20, -14.14, 1.89)
CIE-LCHlch(13.20, 14.27, 172.37°)
OKLaboklab(24.67% -0.04 0.0048)
OKLCHoklch(24.67% 0.04 173.2)
XYZxyz(1.0603, 1.5950, 1.5480)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#07271F #27070F
analogous
#07270F #07271F #071F27
triadic
#07271F #1F0727 #271F07
tetradic
#07271F #0F0727 #27070F #1F2707
square
#07271F #0F0727 #27070F #1F2707
split-complementary
#07271F #27071F #270F07
monochromatic
#051A15 #051A15 #07271F #105B48 #1A8F71

Accessibility & contrast

On white

15.92
#07271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#07271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #07271F
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##07271F#FFFFFF#000000##FFFFFF
##07271F1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25241F
Deuteranopia (green-blind)
#212120
Tritanopia (blue-blind)
#002725
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #07271f;
/* rgb */ color: rgb(7, 39, 31);
/* oklch */ color: oklch(24.7% 0.040 173.2);
Tailwind
colors: {
  custom: {
    50: '#4b615a',
    500: '#07271f',
    950: '#000000',
  },
}
SCSS
$custom: #07271f;
$custom-light: #4b615a;
$custom-dark: #000000;
JSON
{
  "hex": "#07271f",
  "rgb": {
    "r": 7,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 165,
    "s": 69.565,
    "l": 9.02
  },
  "oklch": {
    "l": 0.24666,
    "c": 0.04027,
    "h": 173.2
  },
  "luminance": 0.01595
}

Semantic roles & 50–950 ramp

primary
#07271F
secondary
#662334
accent
#3B68EC
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010503
muted
#777978

Preview Lab

Preview with #07271F

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

Preview Lab → · Contrast checker → · Palette generator →

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