#340F22#340F22

#340F22 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.7% C 0.065 H 351.3°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#340F22
RGBrgb(52, 15, 34)
HSLhsl(329, 55%, 13%)
HSVhsv(329, 71%, 20%)
CMYKcmyk(0%, 71.2%, 34.6%, 79.6%)
CIE-LABlab(10.46, 21.05, -3.80)
CIE-LCHlch(10.46, 21.39, 349.77°)
OKLaboklab(23.66% 0.0639 -0.0098)
OKLCHoklch(23.66% 0.065 351.3)
XYZxyz(1.8758, 1.1874, 1.6435)
Luminance0.0119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F22 #0F3421
analogous
#330F34 #340F22 #340F0F
triadic
#340F22 #22340F #0F2234
tetradic
#340F22 #34330F #0F3421 #0F0F34
square
#340F22 #34330F #0F3421 #0F0F34
split-complementary
#340F22 #0F340F #0F3433
monochromatic
#180710 #180710 #340F22 #631D41 #932A60

Accessibility & contrast

On white

16.97
#340F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#340F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340F22
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F22#FFFFFF#000000##FFFFFF
##340F221.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141823
Deuteranopia (green-blind)
#1E1F21
Tritanopia (blue-blind)
#380D17
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340f22;
/* rgb */ color: rgb(52, 15, 34);
/* oklch */ color: oklch(23.7% 0.065 351.3);
Tailwind
colors: {
  custom: {
    50: '#6d4f5c',
    500: '#340f22',
    950: '#000000',
  },
}
SCSS
$custom: #340f22;
$custom-light: #6d4f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#340f22",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 34
  },
  "hsl": {
    "h": 329.189,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23662,
    "c": 0.06466,
    "h": 351.3
  },
  "luminance": 0.01187
}

Semantic roles & 50–950 ramp

primary
#340F22
secondary
#316E4F
accent
#DF9249
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340F22

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

Preview Lab → · Contrast checker → · Palette generator →

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