#340B1E#340B1E

#340B1E is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 22.9% C 0.069 H 355.4°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#340B1E
RGBrgb(52, 11, 30)
HSLhsl(332, 65%, 12%)
HSVhsv(332, 79%, 20%)
CMYKcmyk(0%, 78.8%, 42.3%, 79.6%)
CIE-LABlab(9.51, 22.59, -2.20)
CIE-LCHlch(9.51, 22.70, 354.44°)
OKLaboklab(22.9% 0.0691 -0.0055)
OKLCHoklch(22.9% 0.069 355.4)
XYZxyz(1.7703, 1.0633, 1.3401)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B1E #0B3421
analogous
#340B33 #340B1E #340D0B
triadic
#340B1E #1E340B #0B1E34
tetradic
#340B1E #33340B #0B3421 #0D0B34
square
#340B1E #33340B #0B3421 #0D0B34
split-complementary
#340B1E #0B340D #0B3334
monochromatic
#19050F #19050F #340B1E #67163B #992058

Accessibility & contrast

On white

17.32
#340B1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B1E
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B1E#FFFFFF#000000##FFFFFF
##340B1E1.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12161F
Deuteranopia (green-blind)
#1D1D1D
Tritanopia (blue-blind)
#390813
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340b1e;
/* rgb */ color: rgb(52, 11, 30);
/* oklch */ color: oklch(22.9% 0.069 355.4);
Tailwind
colors: {
  custom: {
    50: '#6e4d59',
    500: '#340b1e',
    950: '#000000',
  },
}
SCSS
$custom: #340b1e;
$custom-light: #6e4d59;
$custom-dark: #000000;
JSON
{
  "hex": "#340b1e",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 30
  },
  "hsl": {
    "h": 332.195,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.229,
    "c": 0.06931,
    "h": 355.4
  },
  "luminance": 0.01063
}

Semantic roles & 50–950 ramp

primary
#340B1E
secondary
#2A7150
accent
#E89A40
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #340B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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