#340D19#340D19

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

Color values

HEX#340D19
RGBrgb(52, 13, 25)
HSLhsl(342, 60%, 13%)
HSVhsv(342, 75%, 20%)
CMYKcmyk(0%, 75%, 51.9%, 79.6%)
CIE-LABlab(9.71, 20.87, 1.91)
CIE-LCHlch(9.71, 20.95, 5.23°)
OKLaboklab(22.99% 0.0637 0.0052)
OKLCHoklch(22.99% 0.064 4.6)
XYZxyz(1.7357, 1.0883, 1.0382)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340D19 #0D3428
analogous
#340D2C #340D19 #34140D
triadic
#340D19 #19340D #0D1934
tetradic
#340D19 #2C340D #0D3428 #140D34
square
#340D19 #2C340D #0D3428 #140D34
split-complementary
#340D19 #0D3414 #0D2C34
monochromatic
#18060C #18060C #340D19 #651931 #962548

Accessibility & contrast

On white

17.25
#340D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340D19
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340D19#FFFFFF#000000##FFFFFF
##340D191.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151619
Deuteranopia (green-blind)
#1F1E18
Tritanopia (blue-blind)
#390812
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340d19;
/* rgb */ color: rgb(52, 13, 25);
/* oklch */ color: oklch(23.0% 0.064 4.6);
Tailwind
colors: {
  custom: {
    50: '#6e4e55',
    500: '#340d19',
    950: '#000000',
  },
}
SCSS
$custom: #340d19;
$custom-light: #6e4e55;
$custom-dark: #000000;
JSON
{
  "hex": "#340d19",
  "rgb": {
    "r": 52,
    "g": 13,
    "b": 25
  },
  "hsl": {
    "h": 341.538,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22985,
    "c": 0.06386,
    "h": 4.6
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#340D19
secondary
#2D6F5B
accent
#E3B245
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070203
muted
#7A7878

Preview Lab

Preview with #340D19

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

Preview Lab → · Contrast checker → · Palette generator →

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