#340D18#340D18

#340D18 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 22.9% C 0.064 H 6.3°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#340D18
RGBrgb(52, 13, 24)
HSLhsl(343, 60%, 13%)
HSVhsv(343, 75%, 20%)
CMYKcmyk(0%, 75%, 53.8%, 79.6%)
CIE-LABlab(9.67, 20.74, 2.63)
CIE-LCHlch(9.67, 20.91, 7.22°)
OKLaboklab(22.95% 0.0632 0.0069)
OKLCHoklch(22.95% 0.064 6.3)
XYZxyz(1.7251, 1.0841, 0.9824)
Luminance0.0108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340D18 #0D3429
analogous
#340D2B #340D18 #34150D
triadic
#340D18 #18340D #0D1834
tetradic
#340D18 #2B340D #0D3429 #150D34
square
#340D18 #2B340D #0D3429 #150D34
split-complementary
#340D18 #0D3415 #0D2B34
monochromatic
#18060B #18060B #340D18 #65192F #962545

Accessibility & contrast

On white

17.26
#340D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340D18
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340D18#FFFFFF#000000##FFFFFF
##340D181.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151618
Deuteranopia (green-blind)
#1F1E17
Tritanopia (blue-blind)
#390811
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340d18;
/* rgb */ color: rgb(52, 13, 24);
/* oklch */ color: oklch(22.9% 0.064 6.3);
Tailwind
colors: {
  custom: {
    50: '#6e4e54',
    500: '#340d18',
    950: '#000000',
  },
}
SCSS
$custom: #340d18;
$custom-light: #6e4e54;
$custom-dark: #000000;
JSON
{
  "hex": "#340d18",
  "rgb": {
    "r": 52,
    "g": 13,
    "b": 24
  },
  "hsl": {
    "h": 343.077,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22949,
    "c": 0.06357,
    "h": 6.3
  },
  "luminance": 0.01084
}

Semantic roles & 50–950 ramp

primary
#340D18
secondary
#2D6F5D
accent
#E3B645
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070202
muted
#7A7878

Preview Lab

Preview with #340D18

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

Preview Lab → · Contrast checker → · Palette generator →

#340D18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva