#340B19#340B19

#340B19 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.7% C 0.067 H 3.2°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#340B19
RGBrgb(52, 11, 25)
HSLhsl(340, 65%, 12%)
HSVhsv(340, 79%, 20%)
CMYKcmyk(0%, 78.8%, 51.9%, 79.6%)
CIE-LABlab(9.32, 21.92, 1.35)
CIE-LCHlch(9.32, 21.96, 3.53°)
OKLaboklab(22.7% 0.067 0.0037)
OKLCHoklch(22.7% 0.067 3.2)
XYZxyz(1.7114, 1.0398, 1.0301)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B19 #0B3426
analogous
#340B2E #340B19 #34120B
triadic
#340B19 #19340B #0B1934
tetradic
#340B19 #2E340B #0B3426 #120B34
square
#340B19 #2E340B #0B3426 #120B34
split-complementary
#340B19 #0B3412 #0B2E34
monochromatic
#19050C #19050C #340B19 #671631 #99204A

Accessibility & contrast

On white

17.38
#340B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#340B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340B19
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B19#FFFFFF#000000##FFFFFF
##340B191.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141519
Deuteranopia (green-blind)
#1E1D18
Tritanopia (blue-blind)
#390611
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340b19;
/* rgb */ color: rgb(52, 11, 25);
/* oklch */ color: oklch(22.7% 0.067 3.2);
Tailwind
colors: {
  custom: {
    50: '#6e4d55',
    500: '#340b19',
    950: '#000000',
  },
}
SCSS
$custom: #340b19;
$custom-light: #6e4d55;
$custom-dark: #000000;
JSON
{
  "hex": "#340b19",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 25
  },
  "hsl": {
    "h": 339.512,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22697,
    "c": 0.06709,
    "h": 3.2
  },
  "luminance": 0.0104
}

Semantic roles & 50–950 ramp

primary
#340B19
secondary
#2A7159
accent
#E8AF40
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070103
muted
#7A7778

Preview Lab

Preview with #340B19

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

Preview Lab → · Contrast checker → · Palette generator →

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