#340E22#340E22

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

Color values

HEX#340E22
RGBrgb(52, 14, 34)
HSLhsl(328, 58%, 13%)
HSVhsv(328, 73%, 20%)
CMYKcmyk(0%, 73.1%, 34.6%, 79.6%)
CIE-LABlab(10.26, 21.61, -4.11)
CIE-LCHlch(10.26, 22.00, 349.23°)
OKLaboklab(23.51% 0.0656 -0.0107)
OKLCHoklch(23.51% 0.066 350.8)
XYZxyz(1.8620, 1.1598, 1.6389)
Luminance0.0116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E22 #0E3420
analogous
#330E34 #340E22 #340E0F
triadic
#340E22 #22340E #0E2234
tetradic
#340E22 #34330E #0E3420 #0E0F34
square
#340E22 #34330E #0E3420 #0E0F34
split-complementary
#340E22 #0F340E #0E3433
monochromatic
#180610 #180610 #340E22 #641B42 #942861

Accessibility & contrast

On white

17.05
#340E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340E22
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E22#FFFFFF#000000##FFFFFF
##340E221.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131823
Deuteranopia (green-blind)
#1E1E21
Tritanopia (blue-blind)
#380C16
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340e22;
/* rgb */ color: rgb(52, 14, 34);
/* oklch */ color: oklch(23.5% 0.066 350.8);
Tailwind
colors: {
  custom: {
    50: '#6d4f5c',
    500: '#340e22',
    950: '#000000',
  },
}
SCSS
$custom: #340e22;
$custom-light: #6d4f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#340e22",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 34
  },
  "hsl": {
    "h": 328.421,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23509,
    "c": 0.06649,
    "h": 350.8
  },
  "luminance": 0.0116
}

Semantic roles & 50–950 ramp

primary
#340E22
secondary
#2F6F4D
accent
#E19047
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340E22

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

Preview Lab → · Contrast checker → · Palette generator →

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