#340E1E#340E1E

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

Color values

HEX#340E1E
RGBrgb(52, 14, 30)
HSLhsl(335, 58%, 13%)
HSVhsv(335, 73%, 20%)
CMYKcmyk(0%, 73.1%, 42.3%, 79.6%)
CIE-LABlab(10.09, 21.00, -1.33)
CIE-LCHlch(10.09, 21.04, 356.37°)
OKLaboklab(23.33% 0.0641 -0.0032)
OKLCHoklch(23.33% 0.064 357.1)
XYZxyz(1.8077, 1.1381, 1.3525)
Luminance0.0114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E1E #0E3424
analogous
#340E31 #340E1E #34110E
triadic
#340E1E #1E340E #0E1E34
tetradic
#340E1E #31340E #0E3424 #110E34
square
#340E1E #31340E #0E3424 #110E34
split-complementary
#340E1E #0E3411 #0E3134
monochromatic
#18060E #18060E #340E1E #641B3A #942856

Accessibility & contrast

On white

17.11
#340E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340E1E
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E1E#FFFFFF#000000##FFFFFF
##340E1E1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14171E
Deuteranopia (green-blind)
#1F1E1D
Tritanopia (blue-blind)
#390B14
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340e1e;
/* rgb */ color: rgb(52, 14, 30);
/* oklch */ color: oklch(23.3% 0.064 357.1);
Tailwind
colors: {
  custom: {
    50: '#6e4f59',
    500: '#340e1e',
    950: '#000000',
  },
}
SCSS
$custom: #340e1e;
$custom-light: #6e4f59;
$custom-dark: #000000;
JSON
{
  "hex": "#340e1e",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 30
  },
  "hsl": {
    "h": 334.737,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23332,
    "c": 0.06417,
    "h": 357.1
  },
  "luminance": 0.01138
}

Semantic roles & 50–950 ramp

primary
#340E1E
secondary
#2F6F54
accent
#E1A047
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #340E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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