#1F010E#1F010E

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

Color values

HEX#1F010E
RGBrgb(31, 1, 14)
HSLhsl(334, 94%, 6%)
HSVhsv(334, 97%, 12%)
CMYKcmyk(0%, 96.8%, 54.8%, 87.8%)
CIE-LABlab(3.11, 13.41, -1.03)
CIE-LCHlch(3.11, 13.45, 355.61°)
OKLaboklab(15.91% 0.0605 -0.0045)
OKLCHoklch(15.91% 0.061 355.7)
XYZxyz(0.6552, 0.3448, 0.4474)
Luminance0.0034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F010E #011F12
analogous
#1F011D #1F010E #1F0301
triadic
#1F010E #0E1F01 #010E1F
tetradic
#1F010E #1D1F01 #011F12 #03011F
square
#1F010E #1D1F01 #011F12 #03011F
split-complementary
#1F010E #011F03 #011D1F
monochromatic
#1E010D #1E010D #1F010E #5A0329 #960544

Accessibility & contrast

On white

19.64
#1F010E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F010E
19.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F010E#FFFFFF#000000##FFFFFF
##1F010E1.0019.641.0719.64
#FFFFFF19.641.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05070E
Deuteranopia (green-blind)
#0E0E0D
Tritanopia (blue-blind)
#220005
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #1f010e;
/* rgb */ color: rgb(31, 1, 14);
/* oklch */ color: oklch(15.9% 0.061 355.7);
Tailwind
colors: {
  custom: {
    50: '#5a474d',
    500: '#1f010e',
    950: '#000000',
  },
}
SCSS
$custom: #1f010e;
$custom-light: #5a474d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f010e",
  "rgb": {
    "r": 31,
    "g": 1,
    "b": 14
  },
  "hsl": {
    "h": 334,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.1591,
    "c": 0.06065,
    "h": 355.7
  },
  "luminance": 0.00345
}

Semantic roles & 50–950 ramp

primary
#1F010E
secondary
#156743
accent
#FFA229
background
#F5F3F4
surface
#E9E5E7
border
#C5C1C3
text
#040001
muted
#797777

Preview Lab

Preview with #1F010E

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

Preview Lab → · Contrast checker → · Palette generator →

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