#10040E#10040E

#10040E is a very dark, muted pink. Relative luminance 0.002; OKLCH L 13.6% C 0.033 H 333.0°. Best body text is #FFFFFF at 20.08:1 contrast (WCAG AA passes).

Color values

HEX#10040E
RGBrgb(16, 4, 14)
HSLhsl(310, 60%, 4%)
HSVhsv(310, 75%, 6%)
CMYKcmyk(0%, 75%, 12.5%, 93.7%)
CIE-LABlab(2.07, 4.88, -2.76)
CIE-LCHlch(2.07, 5.60, 330.51°)
OKLaboklab(13.6% 0.0296 -0.0151)
OKLCHoklch(13.6% 0.033 333)
XYZxyz(0.3364, 0.2287, 0.4418)
Luminance0.0023 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#10040E #041006
analogous
#0C0410 #10040E #100408
triadic
#10040E #0E1004 #040E10
tetradic
#10040E #100C04 #041006 #040810
square
#10040E #100C04 #041006 #040810
split-complementary
#10040E #081004 #04100C
monochromatic
#180615 #180615 #180615 #411039 #721C64

Accessibility & contrast

On white

20.08
#10040E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#10040E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #10040E
20.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##10040E#FFFFFF#000000##FFFFFF
##10040E1.0020.081.0520.08
#FFFFFF20.081.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF20.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04070E
Deuteranopia (green-blind)
#06080E
Tritanopia (blue-blind)
#110507
Achromatopsia (no color)
#080808

Design tokens & code

CSS
--color: #10040e;
/* rgb */ color: rgb(16, 4, 14);
/* oklch */ color: oklch(13.6% 0.033 333.0);
Tailwind
colors: {
  custom: {
    50: '#4e484d',
    500: '#10040e',
    950: '#000000',
  },
}
SCSS
$custom: #10040e;
$custom-light: #4e484d;
$custom-dark: #000000;
JSON
{
  "hex": "#10040e",
  "rgb": {
    "r": 16,
    "g": 4,
    "b": 14
  },
  "hsl": {
    "h": 310,
    "s": 60,
    "l": 3.922
  },
  "oklch": {
    "l": 0.13597,
    "c": 0.03317,
    "h": 333
  },
  "luminance": 0.00229
}

Semantic roles & 50–950 ramp

primary
#10040E
secondary
#204F28
accent
#E35F45
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#010001
muted
#777777

Preview Lab

Preview with #10040E

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

Preview Lab → · Contrast checker → · Palette generator →

#10040E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva