#340E1D#340E1D

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

Color values

HEX#340E1D
RGBrgb(52, 14, 29)
HSLhsl(336, 58%, 13%)
HSVhsv(336, 73%, 20%)
CMYKcmyk(0%, 73.1%, 44.2%, 79.6%)
CIE-LABlab(10.05, 20.85, -0.63)
CIE-LCHlch(10.05, 20.86, 358.27°)
OKLaboklab(23.29% 0.0637 -0.0014)
OKLCHoklch(23.29% 0.064 358.7)
XYZxyz(1.7951, 1.1330, 1.2863)
Luminance0.0113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E1D #0E3425
analogous
#340E30 #340E1D #34120E
triadic
#340E1D #1D340E #0E1D34
tetradic
#340E1D #30340E #0E3425 #120E34
square
#340E1D #30340E #0E3425 #120E34
split-complementary
#340E1D #0E3412 #0E3034
monochromatic
#18060D #18060D #340E1D #641B38 #942853

Accessibility & contrast

On white

17.12
#340E1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#340E1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340E1D
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E1D#FFFFFF#000000##FFFFFF
##340E1D1.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15171D
Deuteranopia (green-blind)
#1F1E1C
Tritanopia (blue-blind)
#390B14
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340e1d;
/* rgb */ color: rgb(52, 14, 29);
/* oklch */ color: oklch(23.3% 0.064 358.7);
Tailwind
colors: {
  custom: {
    50: '#6e4f58',
    500: '#340e1d',
    950: '#000000',
  },
}
SCSS
$custom: #340e1d;
$custom-light: #6e4f58;
$custom-dark: #000000;
JSON
{
  "hex": "#340e1d",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 29
  },
  "hsl": {
    "h": 336.316,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23291,
    "c": 0.0637,
    "h": 358.7
  },
  "luminance": 0.01133
}

Semantic roles & 50–950 ramp

primary
#340E1D
secondary
#2F6F56
accent
#E1A447
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #340E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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