#340F1E#340F1E

#340F1E is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.5% C 0.062 H 357.8°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#340F1E
RGBrgb(52, 15, 30)
HSLhsl(336, 55%, 13%)
HSVhsv(336, 71%, 20%)
CMYKcmyk(0%, 71.2%, 42.3%, 79.6%)
CIE-LABlab(10.30, 20.43, -1.02)
CIE-LCHlch(10.30, 20.46, 357.13°)
OKLaboklab(23.49% 0.0623 -0.0024)
OKLCHoklch(23.49% 0.062 357.8)
XYZxyz(1.8214, 1.1656, 1.3571)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F1E #0F3425
analogous
#340F30 #340F1E #34120F
triadic
#340F1E #1E340F #0F1E34
tetradic
#340F1E #30340F #0F3425 #120F34
square
#340F1E #30340F #0F3425 #120F34
split-complementary
#340F1E #0F3412 #0F3034
monochromatic
#18070E #18070E #340F1E #631D39 #932A55

Accessibility & contrast

On white

17.03
#340F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340F1E
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F1E#FFFFFF#000000##FFFFFF
##340F1E1.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15181E
Deuteranopia (green-blind)
#1F1F1D
Tritanopia (blue-blind)
#390C15
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340f1e;
/* rgb */ color: rgb(52, 15, 30);
/* oklch */ color: oklch(23.5% 0.062 357.8);
Tailwind
colors: {
  custom: {
    50: '#6e4f59',
    500: '#340f1e',
    950: '#000000',
  },
}
SCSS
$custom: #340f1e;
$custom-light: #6e4f59;
$custom-dark: #000000;
JSON
{
  "hex": "#340f1e",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 30
  },
  "hsl": {
    "h": 335.676,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23488,
    "c": 0.06239,
    "h": 357.8
  },
  "luminance": 0.01165
}

Semantic roles & 50–950 ramp

primary
#340F1E
secondary
#316E55
accent
#DFA249
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070203
muted
#7A7878

Preview Lab

Preview with #340F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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