#340E18#340E18

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

Color values

HEX#340E18
RGBrgb(52, 14, 24)
HSLhsl(344, 58%, 13%)
HSVhsv(344, 73%, 20%)
CMYKcmyk(0%, 73.1%, 53.8%, 79.6%)
CIE-LABlab(9.88, 20.19, 2.92)
CIE-LCHlch(9.88, 20.40, 8.23°)
OKLaboklab(23.1% 0.0614 0.0077)
OKLCHoklch(23.1% 0.062 7.1)
XYZxyz(1.7382, 1.1103, 0.9867)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E18 #0E342A
analogous
#340E2B #340E18 #34170E
triadic
#340E18 #18340E #0E1834
tetradic
#340E18 #2B340E #0E342A #170E34
square
#340E18 #2B340E #0E342A #170E34
split-complementary
#340E18 #0E3417 #0E2B34
monochromatic
#18060B #18060B #340E18 #641B2E #942845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##340E18#FFFFFF#000000##FFFFFF
##340E181.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)
#161618
Deuteranopia (green-blind)
#201E17
Tritanopia (blue-blind)
#390912
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340e18;
/* rgb */ color: rgb(52, 14, 24);
/* oklch */ color: oklch(23.1% 0.062 7.1);
Tailwind
colors: {
  custom: {
    50: '#6e4f54',
    500: '#340e18',
    950: '#000000',
  },
}
SCSS
$custom: #340e18;
$custom-light: #6e4f54;
$custom-dark: #000000;
JSON
{
  "hex": "#340e18",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 24
  },
  "hsl": {
    "h": 344.211,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23103,
    "c": 0.06192,
    "h": 7.1
  },
  "luminance": 0.0111
}

Semantic roles & 50–950 ramp

primary
#340E18
secondary
#2F6F5E
accent
#E1B847
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070202
muted
#7A7878

Preview Lab

Preview with #340E18

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

Preview Lab → · Contrast checker → · Palette generator →

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