#21070C#21070C

#21070C is a very dark, muted red. Relative luminance 0.005; OKLCH L 17.7% C 0.046 H 10.7°. Best body text is #FFFFFF at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#21070C
RGBrgb(33, 7, 12)
HSLhsl(348, 65%, 8%)
HSVhsv(348, 79%, 13%)
CMYKcmyk(0%, 78.8%, 63.6%, 87.1%)
CIE-LABlab(4.53, 11.98, 2.04)
CIE-LCHlch(4.53, 12.16, 9.64°)
OKLaboklab(17.7% 0.0449 0.0084)
OKLCHoklch(17.7% 0.046 10.7)
XYZxyz(0.7696, 0.5019, 0.4041)
Luminance0.0050 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21070C #07211C
analogous
#210719 #21070C #210F07
triadic
#21070C #0C2107 #070C21
tetradic
#21070C #192107 #07211C #0F0721
square
#21070C #192107 #07211C #0F0721
split-complementary
#21070C #07210F #071921
monochromatic
#190509 #190509 #21070C #53121E #861C31

Accessibility & contrast

On white

19.08
#21070C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#21070C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21070C
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21070C#FFFFFF#000000##FFFFFF
##21070C1.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0C0C
Deuteranopia (green-blind)
#13120B
Tritanopia (blue-blind)
#250409
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #21070c;
/* rgb */ color: rgb(33, 7, 12);
/* oklch */ color: oklch(17.7% 0.046 10.7);
Tailwind
colors: {
  custom: {
    50: '#5c494c',
    500: '#21070c',
    950: '#000000',
  },
}
SCSS
$custom: #21070c;
$custom-light: #5c494c;
$custom-dark: #000000;
JSON
{
  "hex": "#21070c",
  "rgb": {
    "r": 33,
    "g": 7,
    "b": 12
  },
  "hsl": {
    "h": 348.462,
    "s": 65,
    "l": 7.843
  },
  "oklch": {
    "l": 0.177,
    "c": 0.04564,
    "h": 10.7
  },
  "luminance": 0.00502
}

Semantic roles & 50–950 ramp

primary
#21070C
secondary
#246054
accent
#E8C840
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#040101
muted
#797777

Preview Lab

Preview with #21070C

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

Preview Lab → · Contrast checker → · Palette generator →

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