#340F1A#340F1A

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

Color values

HEX#340F1A
RGBrgb(52, 15, 26)
HSLhsl(342, 55%, 13%)
HSVhsv(342, 71%, 20%)
CMYKcmyk(0%, 71.2%, 50%, 79.6%)
CIE-LABlab(10.16, 19.88, 1.80)
CIE-LCHlch(10.16, 19.96, 5.17°)
OKLaboklab(23.33% 0.0606 0.0049)
OKLCHoklch(23.33% 0.061 4.6)
XYZxyz(1.7736, 1.1465, 1.1050)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F1A #0F3429
analogous
#340F2C #340F1A #34160F
triadic
#340F1A #1A340F #0F1A34
tetradic
#340F1A #2C340F #0F3429 #160F34
square
#340F1A #2C340F #0F3429 #160F34
split-complementary
#340F1A #0F3416 #0F2C34
monochromatic
#18070C #18070C #340F1A #631D32 #932A49

Accessibility & contrast

On white

17.08
#340F1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340F1A
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F1A#FFFFFF#000000##FFFFFF
##340F1A1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16171A
Deuteranopia (green-blind)
#201E19
Tritanopia (blue-blind)
#390B13
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340f1a;
/* rgb */ color: rgb(52, 15, 26);
/* oklch */ color: oklch(23.3% 0.061 4.6);
Tailwind
colors: {
  custom: {
    50: '#6e4f56',
    500: '#340f1a',
    950: '#000000',
  },
}
SCSS
$custom: #340f1a;
$custom-light: #6e4f56;
$custom-dark: #000000;
JSON
{
  "hex": "#340f1a",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 26
  },
  "hsl": {
    "h": 342.162,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23332,
    "c": 0.06077,
    "h": 4.6
  },
  "luminance": 0.01146
}

Semantic roles & 50–950 ramp

primary
#340F1A
secondary
#316E5C
accent
#DFB249
background
#F6F4F5
surface
#ECE7E8
border
#C7C3C4
text
#070203
muted
#7A7878

Preview Lab

Preview with #340F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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