#052121#052121

#052121 is a very dark, muted teal. Relative luminance 0.012; OKLCH L 22.7% C 0.033 H 195.1°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#052121
RGBrgb(5, 33, 33)
HSLhsl(180, 74%, 7%)
HSVhsv(180, 85%, 13%)
CMYKcmyk(84.8%, 0%, 0%, 87.1%)
CIE-LABlab(10.77, -10.39, -3.12)
CIE-LCHlch(10.77, 10.85, 196.74°)
OKLaboklab(22.69% -0.0322 -0.0087)
OKLCHoklch(22.69% 0.033 195.1)
XYZxyz(0.8808, 1.2297, 1.6295)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052121 #210505
analogous
#052113 #052121 #051321
triadic
#052121 #210521 #212105
tetradic
#052121 #130521 #210505 #132105
square
#052121 #130521 #210505 #132105
split-complementary
#052121 #210513 #211305
monochromatic
#041B1B #041B1B #052121 #0D5656 #158B8B

Accessibility & contrast

On white

16.85
#052121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#052121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052121
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052121#FFFFFF#000000##FFFFFF
##0521211.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1F21
Deuteranopia (green-blind)
#1A1C21
Tritanopia (blue-blind)
#002221
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #052121;
/* rgb */ color: rgb(5, 33, 33);
/* oklch */ color: oklch(22.7% 0.033 195.1);
Tailwind
colors: {
  custom: {
    50: '#495c5c',
    500: '#052121',
    950: '#000000',
  },
}
SCSS
$custom: #052121;
$custom-light: #495c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#052121",
  "rgb": {
    "r": 5,
    "g": 33,
    "b": 33
  },
  "hsl": {
    "h": 180,
    "s": 73.684,
    "l": 7.451
  },
  "oklch": {
    "l": 0.22692,
    "c": 0.03339,
    "h": 195.1
  },
  "luminance": 0.0123
}

Semantic roles & 50–950 ramp

primary
#052121
secondary
#621F1F
accent
#3737F0
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010404
muted
#777979

Preview Lab

Preview with #052121

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

Preview Lab → · Contrast checker → · Palette generator →

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