#340D26#340D26

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

Color values

HEX#340D26
RGBrgb(52, 13, 38)
HSLhsl(322, 60%, 13%)
HSVhsv(322, 75%, 20%)
CMYKcmyk(0%, 75%, 26.9%, 79.6%)
CIE-LABlab(10.24, 22.82, -7.13)
CIE-LCHlch(10.24, 23.91, 342.64°)
OKLaboklab(23.56% 0.0686 -0.019)
OKLCHoklch(23.56% 0.071 344.5)
XYZxyz(1.9100, 1.1580, 1.9563)
Luminance0.0116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340D26 #0D341B
analogous
#2E0D34 #340D26 #340D13
triadic
#340D26 #26340D #0D2634
tetradic
#340D26 #342E0D #0D341B #0D1334
square
#340D26 #342E0D #0D341B #0D1334
split-complementary
#340D26 #13340D #0D342E
monochromatic
#180612 #180612 #340D26 #65194A #96256E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##340D26#FFFFFF#000000##FFFFFF
##340D261.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)
#111827
Deuteranopia (green-blind)
#1C1E25
Tritanopia (blue-blind)
#380D17
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340d26;
/* rgb */ color: rgb(52, 13, 38);
/* oklch */ color: oklch(23.6% 0.071 344.5);
Tailwind
colors: {
  custom: {
    50: '#6d4f60',
    500: '#340d26',
    950: '#000000',
  },
}
SCSS
$custom: #340d26;
$custom-light: #6d4f60;
$custom-dark: #000000;
JSON
{
  "hex": "#340d26",
  "rgb": {
    "r": 52,
    "g": 13,
    "b": 38
  },
  "hsl": {
    "h": 321.538,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23559,
    "c": 0.07116,
    "h": 344.5
  },
  "luminance": 0.01158
}

Semantic roles & 50–950 ramp

primary
#340D26
secondary
#2D6F45
accent
#E37E45
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340D26

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

Preview Lab → · Contrast checker → · Palette generator →

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