#340B16#340B16

#340B16 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.6% C 0.066 H 7.9°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#340B16
RGBrgb(52, 11, 22)
HSLhsl(344, 65%, 12%)
HSVhsv(344, 79%, 20%)
CMYKcmyk(0%, 78.8%, 57.7%, 79.6%)
CIE-LABlab(9.22, 21.56, 3.47)
CIE-LCHlch(9.22, 21.84, 9.14°)
OKLaboklab(22.59% 0.0656 0.0091)
OKLCHoklch(22.59% 0.066 7.9)
XYZxyz(1.6808, 1.0276, 0.8687)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B16 #0B3429
analogous
#340B2B #340B16 #34140B
triadic
#340B16 #16340B #0B1634
tetradic
#340B16 #2B340B #0B3429 #140B34
square
#340B16 #2B340B #0B3429 #140B34
split-complementary
#340B16 #0B3414 #0B2B34
monochromatic
#19050B #19050B #340B16 #67162B #992041

Accessibility & contrast

On white

17.42
#340B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B16
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B16#FFFFFF#000000##FFFFFF
##340B161.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141516
Deuteranopia (green-blind)
#1F1D15
Tritanopia (blue-blind)
#39050F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340b16;
/* rgb */ color: rgb(52, 11, 22);
/* oklch */ color: oklch(22.6% 0.066 7.9);
Tailwind
colors: {
  custom: {
    50: '#6e4d52',
    500: '#340b16',
    950: '#000000',
  },
}
SCSS
$custom: #340b16;
$custom-light: #6e4d52;
$custom-dark: #000000;
JSON
{
  "hex": "#340b16",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 22
  },
  "hsl": {
    "h": 343.902,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2259,
    "c": 0.06624,
    "h": 7.9
  },
  "luminance": 0.01027
}

Semantic roles & 50–950 ramp

primary
#340B16
secondary
#2A715E
accent
#E8BB40
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340B16

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

Preview Lab → · Contrast checker → · Palette generator →

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