#340D22#340D22

#340D22 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.4% C 0.068 H 350.3°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#340D22
RGBrgb(52, 13, 34)
HSLhsl(328, 60%, 13%)
HSVhsv(328, 75%, 20%)
CMYKcmyk(0%, 75%, 34.6%, 79.6%)
CIE-LABlab(10.06, 22.15, -4.41)
CIE-LCHlch(10.06, 22.59, 348.74°)
OKLaboklab(23.36% 0.0673 -0.0115)
OKLCHoklch(23.36% 0.068 350.3)
XYZxyz(1.8489, 1.1336, 1.6345)
Luminance0.0113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340D22 #0D341F
analogous
#320D34 #340D22 #340D0F
triadic
#340D22 #22340D #0D2234
tetradic
#340D22 #34320D #0D341F #0D0F34
square
#340D22 #34320D #0D341F #0D0F34
split-complementary
#340D22 #0F340D #0D3432
monochromatic
#180610 #180610 #340D22 #651942 #962562

Accessibility & contrast

On white

17.12
#340D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340D22
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340D22#FFFFFF#000000##FFFFFF
##340D221.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121723
Deuteranopia (green-blind)
#1D1E21
Tritanopia (blue-blind)
#380B16
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340d22;
/* rgb */ color: rgb(52, 13, 34);
/* oklch */ color: oklch(23.4% 0.068 350.3);
Tailwind
colors: {
  custom: {
    50: '#6d4e5c',
    500: '#340d22',
    950: '#000000',
  },
}
SCSS
$custom: #340d22;
$custom-light: #6d4e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#340d22",
  "rgb": {
    "r": 52,
    "g": 13,
    "b": 34
  },
  "hsl": {
    "h": 327.692,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23361,
    "c": 0.06828,
    "h": 350.3
  },
  "luminance": 0.01133
}

Semantic roles & 50–950 ramp

primary
#340D22
secondary
#2D6F4C
accent
#E38E45
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340D22

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

Preview Lab → · Contrast checker → · Palette generator →

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