#17040E#17040E

#17040E is a very dark, muted pink. Relative luminance 0.003; OKLCH L 15.0% C 0.041 H 348.3°. Best body text is #FFFFFF at 19.81:1 contrast (WCAG AA passes).

Color values

HEX#17040E
RGBrgb(23, 4, 14)
HSLhsl(328, 70%, 5%)
HSVhsv(328, 83%, 9%)
CMYKcmyk(0%, 82.6%, 39.1%, 91%)
CIE-LABlab(2.72, 7.79, -1.73)
CIE-LCHlch(2.72, 7.98, 347.48°)
OKLaboklab(14.98% 0.0404 -0.0084)
OKLCHoklch(14.98% 0.041 348.3)
XYZxyz(0.4760, 0.3007, 0.4484)
Luminance0.0030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17040E #04170D
analogous
#160417 #17040E #170404
triadic
#17040E #0E1704 #040E17
tetradic
#17040E #171604 #04170D #040417
square
#17040E #171604 #04170D #040417
split-complementary
#17040E #041704 #041716
monochromatic
#1A0510 #1A0510 #1A0510 #4B0D2E #7F164D

Accessibility & contrast

On white

19.81
#17040E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#17040E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17040E
19.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17040E#FFFFFF#000000##FFFFFF
##17040E1.0019.811.0619.81
#FFFFFF19.811.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06080E
Deuteranopia (green-blind)
#0B0B0D
Tritanopia (blue-blind)
#190407
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #17040e;
/* rgb */ color: rgb(23, 4, 14);
/* oklch */ color: oklch(15.0% 0.041 348.3);
Tailwind
colors: {
  custom: {
    50: '#53484d',
    500: '#17040e',
    950: '#000000',
  },
}
SCSS
$custom: #17040e;
$custom-light: #53484d;
$custom-dark: #000000;
JSON
{
  "hex": "#17040e",
  "rgb": {
    "r": 23,
    "g": 4,
    "b": 14
  },
  "hsl": {
    "h": 328.421,
    "s": 70.37,
    "l": 5.294
  },
  "oklch": {
    "l": 0.14976,
    "c": 0.04129,
    "h": 348.3
  },
  "luminance": 0.00301
}

Semantic roles & 50–950 ramp

primary
#17040E
secondary
#1E593A
accent
#ED8F3B
background
#F4F4F4
surface
#E7E6E7
border
#C3C2C3
text
#020001
muted
#787777

Preview Lab

Preview with #17040E

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

Preview Lab → · Contrast checker → · Palette generator →

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