#1F010D#1F010D

#1F010D is a very dark, moderate pink. Relative luminance 0.003; OKLCH L 15.9% C 0.060 H 357.6°. Best body text is #FFFFFF at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#1F010D
RGBrgb(31, 1, 13)
HSLhsl(336, 94%, 6%)
HSVhsv(336, 97%, 12%)
CMYKcmyk(0%, 96.8%, 58.1%, 87.8%)
CIE-LABlab(3.09, 13.25, -0.57)
CIE-LCHlch(3.09, 13.26, 357.53°)
OKLaboklab(15.86% 0.0601 -0.0025)
OKLCHoklch(15.86% 0.06 357.6)
XYZxyz(0.6486, 0.3422, 0.4126)
Luminance0.0034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F010D #011F13
analogous
#1F011C #1F010D #1F0401
triadic
#1F010D #0D1F01 #010D1F
tetradic
#1F010D #1C1F01 #011F13 #04011F
square
#1F010D #1C1F01 #011F13 #04011F
split-complementary
#1F010D #011F04 #011C1F
monochromatic
#1E010C #1E010C #1F010D #5A0326 #96053F

Accessibility & contrast

On white

19.66
#1F010D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F010D
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F010D#FFFFFF#000000##FFFFFF
##1F010D1.0019.661.0719.66
#FFFFFF19.661.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05070D
Deuteranopia (green-blind)
#0E0E0C
Tritanopia (blue-blind)
#230005
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #1f010d;
/* rgb */ color: rgb(31, 1, 13);
/* oklch */ color: oklch(15.9% 0.060 357.6);
Tailwind
colors: {
  custom: {
    50: '#5a474d',
    500: '#1f010d',
    950: '#000000',
  },
}
SCSS
$custom: #1f010d;
$custom-light: #5a474d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f010d",
  "rgb": {
    "r": 31,
    "g": 1,
    "b": 13
  },
  "hsl": {
    "h": 336,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.15862,
    "c": 0.06013,
    "h": 357.6
  },
  "luminance": 0.00342
}

Semantic roles & 50–950 ramp

primary
#1F010D
secondary
#156746
accent
#FFA929
background
#F5F3F4
surface
#E9E5E7
border
#C5C1C3
text
#040001
muted
#797777

Preview Lab

Preview with #1F010D

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

Preview Lab → · Contrast checker → · Palette generator →

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