#1F0016#1F0016

#1F0016 is a very dark, moderate pink. Relative luminance 0.003; OKLCH L 16.1% C 0.070 H 341.1°. Best body text is #FFFFFF at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#1F0016
RGBrgb(31, 0, 22)
HSLhsl(317, 100%, 6%)
HSVhsv(317, 100%, 12%)
CMYKcmyk(0%, 100%, 29%, 87.8%)
CIE-LABlab(3.16, 15.48, -5.84)
CIE-LCHlch(3.16, 16.55, 339.32°)
OKLaboklab(16.11% 0.0659 -0.0226)
OKLCHoklch(16.11% 0.07 341.1)
XYZxyz(0.7099, 0.3493, 0.7889)
Luminance0.0035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0016 #001F09
analogous
#18001F #1F0016 #1F0006
triadic
#1F0016 #161F00 #00161F
tetradic
#1F0016 #1F1800 #001F09 #00061F
square
#1F0016 #1F1800 #001F09 #00061F
split-complementary
#1F0016 #061F00 #001F18
monochromatic
#1F0016 #1F0016 #1F0016 #5C0041 #99006D

Accessibility & contrast

On white

19.63
#1F0016 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#1F0016 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F0016
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0016#FFFFFF#000000##FFFFFF
##1F00161.0019.631.0719.63
#FFFFFF19.631.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#010817
Deuteranopia (green-blind)
#0B0E15
Tritanopia (blue-blind)
#220008
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #1f0016;
/* rgb */ color: rgb(31, 0, 22);
/* oklch */ color: oklch(16.1% 0.070 341.1);
Tailwind
colors: {
  custom: {
    50: '#5a4652',
    500: '#1f0016',
    950: '#000000',
  },
}
SCSS
$custom: #1f0016;
$custom-light: #5a4652;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0016",
  "rgb": {
    "r": 31,
    "g": 0,
    "b": 22
  },
  "hsl": {
    "h": 317.419,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.16108,
    "c": 0.06965,
    "h": 341.1
  },
  "luminance": 0.00349
}

Semantic roles & 50–950 ramp

primary
#1F0016
secondary
#12682B
accent
#FF6729
background
#F5F3F4
surface
#E9E5E7
border
#C5C1C3
text
#040002
muted
#797778

Preview Lab

Preview with #1F0016

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

Preview Lab → · Contrast checker → · Palette generator →

#1F0016 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva