#340E1A#340E1A

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

Color values

HEX#340E1A
RGBrgb(52, 14, 26)
HSLhsl(341, 58%, 13%)
HSVhsv(341, 73%, 20%)
CMYKcmyk(0%, 73.1%, 50%, 79.6%)
CIE-LABlab(9.95, 20.44, 1.49)
CIE-LCHlch(9.95, 20.50, 4.17°)
OKLaboklab(23.17% 0.0624 0.0041)
OKLCHoklch(23.17% 0.062 3.8)
XYZxyz(1.7598, 1.1189, 1.1004)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E1A #0E3428
analogous
#340E2D #340E1A #34150E
triadic
#340E1A #1A340E #0E1A34
tetradic
#340E1A #2D340E #0E3428 #150E34
square
#340E1A #2D340E #0E3428 #150E34
split-complementary
#340E1A #0E3415 #0E2D34
monochromatic
#18060C #18060C #340E1A #641B32 #94284A

Accessibility & contrast

On white

17.16
#340E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340E1A
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E1A#FFFFFF#000000##FFFFFF
##340E1A1.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15171A
Deuteranopia (green-blind)
#1F1E19
Tritanopia (blue-blind)
#390A13
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340e1a;
/* rgb */ color: rgb(52, 14, 26);
/* oklch */ color: oklch(23.2% 0.062 3.8);
Tailwind
colors: {
  custom: {
    50: '#6e4f56',
    500: '#340e1a',
    950: '#000000',
  },
}
SCSS
$custom: #340e1a;
$custom-light: #6e4f56;
$custom-dark: #000000;
JSON
{
  "hex": "#340e1a",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 26
  },
  "hsl": {
    "h": 341.053,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23174,
    "c": 0.06249,
    "h": 3.8
  },
  "luminance": 0.01119
}

Semantic roles & 50–950 ramp

primary
#340E1A
secondary
#2F6F5B
accent
#E1B047
background
#F6F4F5
surface
#ECE7E8
border
#C7C3C4
text
#070203
muted
#7A7878

Preview Lab

Preview with #340E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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