#0F040D#0F040D

#0F040D is a very dark, muted pink. Relative luminance 0.002; OKLCH L 13.3% C 0.031 H 333.3°. Best body text is #FFFFFF at 20.13:1 contrast (WCAG AA passes).

Color values

HEX#0F040D
RGBrgb(15, 4, 13)
HSLhsl(311, 58%, 4%)
HSVhsv(311, 73%, 6%)
CMYKcmyk(0%, 73.3%, 13.3%, 94.1%)
CIE-LABlab(1.96, 4.36, -2.42)
CIE-LCHlch(1.96, 4.99, 330.93°)
OKLaboklab(13.35% 0.0276 -0.0138)
OKLCHoklch(13.35% 0.031 333.3)
XYZxyz(0.3131, 0.2175, 0.4062)
Luminance0.0022 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F040D #040F06
analogous
#0B040F #0F040D #0F0407
triadic
#0F040D #0D0F04 #040D0F
tetradic
#0F040D #0F0B04 #040F06 #04070F
square
#0F040D #0F0B04 #040F06 #04070F
split-complementary
#0F040D #070F04 #040F0B
monochromatic
#180615 #180615 #180615 #3F1137 #701E61

Accessibility & contrast

On white

20.13
#0F040D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.04
#0F040D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F040D
20.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F040D#FFFFFF#000000##FFFFFF
##0F040D1.0020.131.0420.13
#FFFFFF20.131.0021.001.00
#0000001.0421.001.0021.00
##FFFFFF20.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04060D
Deuteranopia (green-blind)
#06080D
Tritanopia (blue-blind)
#100407
Achromatopsia (no color)
#070707

Design tokens & code

CSS
--color: #0f040d;
/* rgb */ color: rgb(15, 4, 13);
/* oklch */ color: oklch(13.3% 0.031 333.3);
Tailwind
colors: {
  custom: {
    50: '#4e484d',
    500: '#0f040d',
    950: '#000000',
  },
}
SCSS
$custom: #0f040d;
$custom-light: #4e484d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f040d",
  "rgb": {
    "r": 15,
    "g": 4,
    "b": 13
  },
  "hsl": {
    "h": 310.909,
    "s": 57.895,
    "l": 3.725
  },
  "oklch": {
    "l": 0.13347,
    "c": 0.03084,
    "h": 333.3
  },
  "luminance": 0.00217
}

Semantic roles & 50–950 ramp

primary
#0F040D
secondary
#214E29
accent
#E16347
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #0F040D

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

Preview Lab → · Contrast checker → · Palette generator →

#0F040D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva