#1F0019#1F0019

#1F0019 is a very dark, moderate pink. Relative luminance 0.004; OKLCH L 16.3% C 0.072 H 336.6°. Best body text is #FFFFFF at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#1F0019
RGBrgb(31, 0, 25)
HSLhsl(312, 100%, 6%)
HSVhsv(312, 100%, 12%)
CMYKcmyk(0%, 100%, 19.4%, 87.8%)
CIE-LABlab(3.27, 16.26, -7.96)
CIE-LCHlch(3.27, 18.10, 333.91°)
OKLaboklab(16.32% 0.0661 -0.0287)
OKLCHoklch(16.32% 0.072 336.6)
XYZxyz(0.7406, 0.3616, 0.9503)
Luminance0.0036 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F0019 #001F06
analogous
#15001F #1F0019 #1F0009
triadic
#1F0019 #191F00 #00191F
tetradic
#1F0019 #1F1500 #001F06 #00091F
square
#1F0019 #1F1500 #001F06 #00091F
split-complementary
#1F0019 #091F00 #001F15
monochromatic
#1F0019 #1F0019 #1F0019 #5C004A #99007C

Accessibility & contrast

On white

19.59
#1F0019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F0019
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F0019#FFFFFF#000000##FFFFFF
##1F00191.0019.591.0719.59
#FFFFFF19.591.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00081A
Deuteranopia (green-blind)
#090E18
Tritanopia (blue-blind)
#21010A
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1f0019;
/* rgb */ color: rgb(31, 0, 25);
/* oklch */ color: oklch(16.3% 0.072 336.6);
Tailwind
colors: {
  custom: {
    50: '#5a4655',
    500: '#1f0019',
    950: '#000000',
  },
}
SCSS
$custom: #1f0019;
$custom-light: #5a4655;
$custom-dark: #000000;
JSON
{
  "hex": "#1f0019",
  "rgb": {
    "r": 31,
    "g": 0,
    "b": 25
  },
  "hsl": {
    "h": 311.613,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.16319,
    "c": 0.07204,
    "h": 336.6
  },
  "luminance": 0.00361
}

Semantic roles & 50–950 ramp

primary
#1F0019
secondary
#126823
accent
#FF5229
background
#F5F3F4
surface
#E9E5E7
border
#C5C1C3
text
#040003
muted
#797778

Preview Lab

Preview with #1F0019

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

Preview Lab → · Contrast checker → · Palette generator →

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