#1F0112#1F0112

#1F0112 is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 16.1% C 0.063 H 348.3°. Best body text is #FFFFFF at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#1F0112
RGBrgb(31, 1, 18)
HSLhsl(326, 94%, 6%)
HSVhsv(326, 97%, 12%)
CMYKcmyk(0%, 96.8%, 41.9%, 87.8%)
CIE-LABlab(3.22, 14.17, -3.10)
CIE-LCHlch(3.22, 14.51, 347.68°)
OKLaboklab(16.12% 0.0618 -0.0128)
OKLCHoklch(16.12% 0.063 348.3)
XYZxyz(0.6851, 0.3568, 0.6049)
Luminance0.0036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0112 #011F0E
analogous
#1D011F #1F0112 #1F0103
triadic
#1F0112 #121F01 #01121F
tetradic
#1F0112 #1F1D01 #011F0E #01031F
square
#1F0112 #1F1D01 #011F0E #01031F
split-complementary
#1F0112 #031F01 #011F1D
monochromatic
#1E0111 #1E0111 #1F0112 #5A0334 #960557

Accessibility & contrast

On white

19.60
#1F0112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F0112
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0112#FFFFFF#000000##FFFFFF
##1F01121.0019.601.0719.60
#FFFFFF19.601.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#040813
Deuteranopia (green-blind)
#0D0E11
Tritanopia (blue-blind)
#220007
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1f0112;
/* rgb */ color: rgb(31, 1, 18);
/* oklch */ color: oklch(16.1% 0.063 348.3);
Tailwind
colors: {
  custom: {
    50: '#5a4750',
    500: '#1f0112',
    950: '#000000',
  },
}
SCSS
$custom: #1f0112;
$custom-light: #5a4750;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0112",
  "rgb": {
    "r": 31,
    "g": 1,
    "b": 18
  },
  "hsl": {
    "h": 326,
    "s": 93.75,
    "l": 6.275
  },
  "oklch": {
    "l": 0.1612,
    "c": 0.06312,
    "h": 348.3
  },
  "luminance": 0.00357
}

Semantic roles & 50–950 ramp

primary
#1F0112
secondary
#156738
accent
#FF8629
background
#F5F3F4
surface
#E9E5E7
border
#C5C1C3
text
#040002
muted
#797778

Preview Lab

Preview with #1F0112

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

Preview Lab → · Contrast checker → · Palette generator →

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