#1F010C#1F010C

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

Color values

HEX#1F010C
RGBrgb(31, 1, 12)
HSLhsl(338, 94%, 6%)
HSVhsv(338, 97%, 12%)
CMYKcmyk(0%, 96.8%, 61.3%, 87.8%)
CIE-LABlab(3.07, 13.09, -0.14)
CIE-LCHlch(3.07, 13.09, 359.39°)
OKLaboklab(15.82% 0.0597 -0.0005)
OKLCHoklch(15.82% 0.06 359.6)
XYZxyz(0.6423, 0.3396, 0.3795)
Luminance0.0034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F010C #011F14
analogous
#1F011B #1F010C #1F0501
triadic
#1F010C #0C1F01 #010C1F
tetradic
#1F010C #1B1F01 #011F14 #05011F
square
#1F010C #1B1F01 #011F14 #05011F
split-complementary
#1F010C #011F05 #011B1F
monochromatic
#1E010B #1E010B #1F010C #5A0323 #96053A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F010C#FFFFFF#000000##FFFFFF
##1F010C1.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)
#05070C
Deuteranopia (green-blind)
#0E0E0B
Tritanopia (blue-blind)
#230005
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #1f010c;
/* rgb */ color: rgb(31, 1, 12);
/* oklch */ color: oklch(15.8% 0.060 359.6);
Tailwind
colors: {
  custom: {
    50: '#5a474c',
    500: '#1f010c',
    950: '#000000',
  },
}
SCSS
$custom: #1f010c;
$custom-light: #5a474c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f010c",
  "rgb": {
    "r": 31,
    "g": 1,
    "b": 12
  },
  "hsl": {
    "h": 338,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.15817,
    "c": 0.05966,
    "h": 359.6
  },
  "luminance": 0.0034
}

Semantic roles & 50–950 ramp

primary
#1F010C
secondary
#156749
accent
#FFB029
background
#F5F3F4
surface
#E9E5E7
border
#C5C1C3
text
#040001
muted
#797777

Preview Lab

Preview with #1F010C

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

Preview Lab → · Contrast checker → · Palette generator →

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