#340D1E#340D1E

#340D1E is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.2% C 0.066 H 356.5°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#340D1E
RGBrgb(52, 13, 30)
HSLhsl(334, 60%, 13%)
HSVhsv(334, 75%, 20%)
CMYKcmyk(0%, 75%, 42.3%, 79.6%)
CIE-LABlab(9.89, 21.54, -1.63)
CIE-LCHlch(9.89, 21.61, 355.67°)
OKLaboklab(23.18% 0.0658 -0.004)
OKLCHoklch(23.18% 0.066 356.5)
XYZxyz(1.7945, 1.1118, 1.3481)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340D1E #0D3423
analogous
#340D31 #340D1E #340F0D
triadic
#340D1E #1E340D #0D1E34
tetradic
#340D1E #31340D #0D3423 #0F0D34
square
#340D1E #31340D #0D3423 #0F0D34
split-complementary
#340D1E #0D340F #0D3134
monochromatic
#18060E #18060E #340D1E #65193A #962556

Accessibility & contrast

On white

17.18
#340D1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340D1E
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340D1E#FFFFFF#000000##FFFFFF
##340D1E1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14171E
Deuteranopia (green-blind)
#1E1E1D
Tritanopia (blue-blind)
#390A14
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340d1e;
/* rgb */ color: rgb(52, 13, 30);
/* oklch */ color: oklch(23.2% 0.066 356.5);
Tailwind
colors: {
  custom: {
    50: '#6e4e59',
    500: '#340d1e',
    950: '#000000',
  },
}
SCSS
$custom: #340d1e;
$custom-light: #6e4e59;
$custom-dark: #000000;
JSON
{
  "hex": "#340d1e",
  "rgb": {
    "r": 52,
    "g": 13,
    "b": 30
  },
  "hsl": {
    "h": 333.846,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23182,
    "c": 0.06593,
    "h": 356.5
  },
  "luminance": 0.01112
}

Semantic roles & 50–950 ramp

primary
#340D1E
secondary
#2D6F53
accent
#E39E45
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #340D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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