#21070F#21070F

#21070F is a very dark, muted pink. Relative luminance 0.005; OKLCH L 17.8% C 0.046 H 3.4°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#21070F
RGBrgb(33, 7, 15)
HSLhsl(342, 65%, 8%)
HSVhsv(342, 79%, 13%)
CMYKcmyk(0%, 78.8%, 54.5%, 87.1%)
CIE-LABlab(4.61, 12.49, 0.67)
CIE-LCHlch(4.61, 12.51, 3.05°)
OKLaboklab(17.81% 0.0464 0.0027)
OKLCHoklch(17.81% 0.046 3.4)
XYZxyz(0.7895, 0.5099, 0.5087)
Luminance0.0051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21070F #072119
analogous
#21071C #21070F #210C07
triadic
#21070F #0F2107 #070F21
tetradic
#21070F #1C2107 #072119 #0C0721
square
#21070F #1C2107 #072119 #0C0721
split-complementary
#21070F #07210C #071C21
monochromatic
#19050B #19050B #21070F #531226 #861C3D

Accessibility & contrast

On white

19.06
#21070F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21070F
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21070F#FFFFFF#000000##FFFFFF
##21070F1.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0D0F
Deuteranopia (green-blind)
#13120E
Tritanopia (blue-blind)
#25050A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #21070f;
/* rgb */ color: rgb(33, 7, 15);
/* oklch */ color: oklch(17.8% 0.046 3.4);
Tailwind
colors: {
  custom: {
    50: '#5c494e',
    500: '#21070f',
    950: '#000000',
  },
}
SCSS
$custom: #21070f;
$custom-light: #5c494e;
$custom-dark: #000000;
JSON
{
  "hex": "#21070f",
  "rgb": {
    "r": 33,
    "g": 7,
    "b": 15
  },
  "hsl": {
    "h": 341.538,
    "s": 65,
    "l": 7.843
  },
  "oklch": {
    "l": 0.17812,
    "c": 0.04644,
    "h": 3.4
  },
  "luminance": 0.0051
}

Semantic roles & 50–950 ramp

primary
#21070F
secondary
#24604D
accent
#E8B440
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#040101
muted
#797777

Preview Lab

Preview with #21070F

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

Preview Lab → · Contrast checker → · Palette generator →

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