#340B22#340B22

#340B22 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.1% C 0.072 H 349.6°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#340B22
RGBrgb(52, 11, 34)
HSLhsl(326, 65%, 12%)
HSVhsv(326, 79%, 20%)
CMYKcmyk(0%, 78.8%, 34.6%, 79.6%)
CIE-LABlab(9.68, 23.19, -4.98)
CIE-LCHlch(9.68, 23.72, 347.88°)
OKLaboklab(23.08% 0.0705 -0.013)
OKLCHoklch(23.08% 0.072 349.6)
XYZxyz(1.8247, 1.0851, 1.6264)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B22 #0B341D
analogous
#310B34 #340B22 #340B0E
triadic
#340B22 #22340B #0B2234
tetradic
#340B22 #34310B #0B341D #0B0E34
square
#340B22 #34310B #0B341D #0B0E34
split-complementary
#340B22 #0E340B #0B3431
monochromatic
#190511 #190511 #340B22 #671643 #992064

Accessibility & contrast

On white

17.26
#340B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340B22
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B22#FFFFFF#000000##FFFFFF
##340B221.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111623
Deuteranopia (green-blind)
#1C1D21
Tritanopia (blue-blind)
#380915
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340b22;
/* rgb */ color: rgb(52, 11, 34);
/* oklch */ color: oklch(23.1% 0.072 349.6);
Tailwind
colors: {
  custom: {
    50: '#6e4d5d',
    500: '#340b22',
    950: '#000000',
  },
}
SCSS
$custom: #340b22;
$custom-light: #6e4d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#340b22",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 34
  },
  "hsl": {
    "h": 326.341,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23084,
    "c": 0.07171,
    "h": 349.6
  },
  "luminance": 0.01085
}

Semantic roles & 50–950 ramp

primary
#340B22
secondary
#2A7149
accent
#E88A40
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340B22

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

Preview Lab → · Contrast checker → · Palette generator →

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