#340E1C#340E1C

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

Color values

HEX#340E1C
RGBrgb(52, 14, 28)
HSLhsl(338, 58%, 13%)
HSVhsv(338, 73%, 20%)
CMYKcmyk(0%, 73.1%, 46.2%, 79.6%)
CIE-LABlab(10.02, 20.71, 0.07)
CIE-LCHlch(10.02, 20.71, 0.21°)
OKLaboklab(23.25% 0.0633 0.0005)
OKLCHoklch(23.25% 0.063 0.4)
XYZxyz(1.7829, 1.1282, 1.2223)
Luminance0.0113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E1C #0E3426
analogous
#340E2F #340E1C #34130E
triadic
#340E1C #1C340E #0E1C34
tetradic
#340E1C #2F340E #0E3426 #130E34
square
#340E1C #2F340E #0E3426 #130E34
split-complementary
#340E1C #0E3413 #0E2F34
monochromatic
#18060D #18060D #340E1C #641B36 #942850

Accessibility & contrast

On white

17.13
#340E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340E1C
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E1C#FFFFFF#000000##FFFFFF
##340E1C1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340e1c;
/* rgb */ color: rgb(52, 14, 28);
/* oklch */ color: oklch(23.3% 0.063 0.4);
Tailwind
colors: {
  custom: {
    50: '#6e4f57',
    500: '#340e1c',
    950: '#000000',
  },
}
SCSS
$custom: #340e1c;
$custom-light: #6e4f57;
$custom-dark: #000000;
JSON
{
  "hex": "#340e1c",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 28
  },
  "hsl": {
    "h": 337.895,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23251,
    "c": 0.06325,
    "h": 0.4
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#340E1C
secondary
#2F6F57
accent
#E1A847
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #340E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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