#340D20#340D20

#340D20 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.3% C 0.067 H 353.4°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#340D20
RGBrgb(52, 13, 32)
HSLhsl(331, 60%, 13%)
HSVhsv(331, 75%, 20%)
CMYKcmyk(0%, 75%, 38.5%, 79.6%)
CIE-LABlab(9.97, 21.84, -3.03)
CIE-LCHlch(9.97, 22.05, 352.11°)
OKLaboklab(23.27% 0.0666 -0.0077)
OKLCHoklch(23.27% 0.067 353.4)
XYZxyz(1.8209, 1.1224, 1.4870)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340D20 #0D3421
analogous
#340D33 #340D20 #340D0D
triadic
#340D20 #20340D #0D2034
tetradic
#340D20 #33340D #0D3421 #0D0D34
square
#340D20 #33340D #0D3421 #0D0D34
split-complementary
#340D20 #0D340D #0D3334
monochromatic
#18060F #18060F #340D20 #65193E #96255C

Accessibility & contrast

On white

17.15
#340D20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340D20
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340D20#FFFFFF#000000##FFFFFF
##340D201.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131721
Deuteranopia (green-blind)
#1E1E1F
Tritanopia (blue-blind)
#380A15
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340d20;
/* rgb */ color: rgb(52, 13, 32);
/* oklch */ color: oklch(23.3% 0.067 353.4);
Tailwind
colors: {
  custom: {
    50: '#6e4e5b',
    500: '#340d20',
    950: '#000000',
  },
}
SCSS
$custom: #340d20;
$custom-light: #6e4e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#340d20",
  "rgb": {
    "r": 52,
    "g": 13,
    "b": 32
  },
  "hsl": {
    "h": 330.769,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23269,
    "c": 0.06704,
    "h": 353.4
  },
  "luminance": 0.01122
}

Semantic roles & 50–950 ramp

primary
#340D20
secondary
#2D6F4F
accent
#E39645
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340D20

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

Preview Lab → · Contrast checker → · Palette generator →

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