#1F050D#1F050D

#1F050D is a very dark, muted pink. Relative luminance 0.004; OKLCH L 16.9% C 0.048 H 3.2°. Best body text is #FFFFFF at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#1F050D
RGBrgb(31, 5, 13)
HSLhsl(342, 72%, 7%)
HSVhsv(342, 84%, 12%)
CMYKcmyk(0%, 83.9%, 58.1%, 87.8%)
CIE-LABlab(3.88, 11.64, 0.57)
CIE-LCHlch(3.88, 11.66, 2.81°)
OKLaboklab(16.87% 0.0478 0.0027)
OKLCHoklch(16.87% 0.048 3.2)
XYZxyz(0.6920, 0.4290, 0.4271)
Luminance0.0043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F050D #051F17
analogous
#1F051A #1F050D #1F0A05
triadic
#1F050D #0D1F05 #050D1F
tetradic
#1F050D #1A1F05 #051F17 #0A051F
square
#1F050D #1A1F05 #051F17 #0A051F
split-complementary
#1F050D #051F0A #051A1F
monochromatic
#1A040B #1A040B #1F050D #540E23 #881639

Accessibility & contrast

On white

19.34
#1F050D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#1F050D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F050D
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F050D#FFFFFF#000000##FFFFFF
##1F050D1.0019.341.0919.34
#FFFFFF19.341.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090A0D
Deuteranopia (green-blind)
#11100C
Tritanopia (blue-blind)
#220308
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1f050d;
/* rgb */ color: rgb(31, 5, 13);
/* oklch */ color: oklch(16.9% 0.048 3.2);
Tailwind
colors: {
  custom: {
    50: '#5a494d',
    500: '#1f050d',
    950: '#000000',
  },
}
SCSS
$custom: #1f050d;
$custom-light: #5a494d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f050d",
  "rgb": {
    "r": 31,
    "g": 5,
    "b": 13
  },
  "hsl": {
    "h": 341.538,
    "s": 72.222,
    "l": 7.059
  },
  "oklch": {
    "l": 0.1687,
    "c": 0.04792,
    "h": 3.2
  },
  "luminance": 0.00429
}

Semantic roles & 50–950 ramp

primary
#1F050D
secondary
#20604C
accent
#EFB739
background
#F5F4F4
surface
#E9E6E7
border
#C5C2C3
text
#040001
muted
#797777

Preview Lab

Preview with #1F050D

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

Preview Lab → · Contrast checker → · Palette generator →

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