#1F080F#1F080F

#1F080F is a very dark, muted pink. Relative luminance 0.005; OKLCH L 17.6% C 0.041 H 2.9°. Best body text is #FFFFFF at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#1F080F
RGBrgb(31, 8, 15)
HSLhsl(342, 59%, 8%)
HSVhsv(342, 74%, 12%)
CMYKcmyk(0%, 74.2%, 51.6%, 87.8%)
CIE-LABlab(4.51, 10.79, 0.49)
CIE-LCHlch(4.51, 10.80, 2.62°)
OKLaboklab(17.63% 0.0412 0.0021)
OKLCHoklch(17.63% 0.041 2.9)
XYZxyz(0.7382, 0.4995, 0.5094)
Luminance0.0050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F080F #081F18
analogous
#1F081A #1F080F #1F0C08
triadic
#1F080F #0F1F08 #080F1F
tetradic
#1F080F #1A1F08 #081F18 #0C081F
square
#1F080F #1A1F08 #081F18 #0C081F
split-complementary
#1F080F #081F0C #081A1F
monochromatic
#18060C #18060C #1F080F #501527 #80213E

Accessibility & contrast

On white

19.09
#1F080F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1F080F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F080F
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F080F#FFFFFF#000000##FFFFFF
##1F080F1.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C0D0F
Deuteranopia (green-blind)
#12110E
Tritanopia (blue-blind)
#22060B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1f080f;
/* rgb */ color: rgb(31, 8, 15);
/* oklch */ color: oklch(17.6% 0.041 2.9);
Tailwind
colors: {
  custom: {
    50: '#5a4a4e',
    500: '#1f080f',
    950: '#000000',
  },
}
SCSS
$custom: #1f080f;
$custom-light: #5a4a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f080f",
  "rgb": {
    "r": 31,
    "g": 8,
    "b": 15
  },
  "hsl": {
    "h": 341.739,
    "s": 58.974,
    "l": 7.647
  },
  "oklch": {
    "l": 0.17627,
    "c": 0.04129,
    "h": 2.9
  },
  "luminance": 0.00499
}

Semantic roles & 50–950 ramp

primary
#1F080F
secondary
#265C4C
accent
#E2B346
background
#F5F4F4
surface
#E9E7E7
border
#C5C3C3
text
#040101
muted
#797777

Preview Lab

Preview with #1F080F

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

Preview Lab → · Contrast checker → · Palette generator →

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