#1F020D#1F020D

#1F020D is a very dark, muted pink. Relative luminance 0.004; OKLCH L 16.1% C 0.057 H 358.9°. Best body text is #FFFFFF at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#1F020D
RGBrgb(31, 2, 13)
HSLhsl(337, 88%, 6%)
HSVhsv(337, 94%, 12%)
CMYKcmyk(0%, 93.5%, 58.1%, 87.8%)
CIE-LABlab(3.29, 12.85, -0.29)
CIE-LCHlch(3.29, 12.85, 358.73°)
OKLaboklab(16.13% 0.0568 -0.0011)
OKLCHoklch(16.13% 0.057 358.9)
XYZxyz(0.6595, 0.3639, 0.4162)
Luminance0.0036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F020D #021F14
analogous
#1F021C #1F020D #1F0602
triadic
#1F020D #0D1F02 #020D1F
tetradic
#1F020D #1C1F02 #021F14 #06021F
square
#1F020D #1C1F02 #021F14 #06021F
split-complementary
#1F020D #021F06 #021C1F
monochromatic
#1D020C #1D020C #1F020D #580625 #92093D

Accessibility & contrast

On white

19.57
#1F020D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F020D
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F020D#FFFFFF#000000##FFFFFF
##1F020D1.0019.571.0719.57
#FFFFFF19.571.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06080D
Deuteranopia (green-blind)
#0F0E0C
Tritanopia (blue-blind)
#230006
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #1f020d;
/* rgb */ color: rgb(31, 2, 13);
/* oklch */ color: oklch(16.1% 0.057 358.9);
Tailwind
colors: {
  custom: {
    50: '#5a474d',
    500: '#1f020d',
    950: '#000000',
  },
}
SCSS
$custom: #1f020d;
$custom-light: #5a474d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f020d",
  "rgb": {
    "r": 31,
    "g": 2,
    "b": 13
  },
  "hsl": {
    "h": 337.241,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.16127,
    "c": 0.05676,
    "h": 358.9
  },
  "luminance": 0.00364
}

Semantic roles & 50–950 ramp

primary
#1F020D
secondary
#186548
accent
#FEAE2A
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #1F020D

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

Preview Lab → · Contrast checker → · Palette generator →

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