#1F010B#1F010B

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

Color values

HEX#1F010B
RGBrgb(31, 1, 11)
HSLhsl(340, 94%, 6%)
HSVhsv(340, 97%, 12%)
CMYKcmyk(0%, 96.8%, 64.5%, 87.8%)
CIE-LABlab(3.05, 12.94, 0.27)
CIE-LCHlch(3.05, 12.94, 1.21°)
OKLaboklab(15.77% 0.0592 0.0016)
OKLCHoklch(15.77% 0.059 1.5)
XYZxyz(0.6364, 0.3373, 0.3481)
Luminance0.0034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F010B #011F15
analogous
#1F011A #1F010B #1F0601
triadic
#1F010B #0B1F01 #010B1F
tetradic
#1F010B #1A1F01 #011F15 #06011F
square
#1F010B #1A1F01 #011F15 #06011F
split-complementary
#1F010B #011F06 #011A1F
monochromatic
#1E010B #1E010B #1F010B #5A0320 #960535

Accessibility & contrast

On white

19.67
#1F010B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F010B
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F010B#FFFFFF#000000##FFFFFF
##1F010B1.0019.671.0719.67
#FFFFFF19.671.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06070B
Deuteranopia (green-blind)
#0E0D0A
Tritanopia (blue-blind)
#230004
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #1f010b;
/* rgb */ color: rgb(31, 1, 11);
/* oklch */ color: oklch(15.8% 0.059 1.5);
Tailwind
colors: {
  custom: {
    50: '#5a474c',
    500: '#1f010b',
    950: '#000000',
  },
}
SCSS
$custom: #1f010b;
$custom-light: #5a474c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f010b",
  "rgb": {
    "r": 31,
    "g": 1,
    "b": 11
  },
  "hsl": {
    "h": 340,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.15774,
    "c": 0.05923,
    "h": 1.5
  },
  "luminance": 0.00337
}

Semantic roles & 50–950 ramp

primary
#1F010B
secondary
#15674B
accent
#FFB829
background
#F5F3F4
surface
#E9E5E7
border
#C5C1C3
text
#040001
muted
#797777

Preview Lab

Preview with #1F010B

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

Preview Lab → · Contrast checker → · Palette generator →

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