#340E26#340E26

#340E26 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.7% C 0.069 H 344.8°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#340E26
RGBrgb(52, 14, 38)
HSLhsl(322, 58%, 13%)
HSVhsv(322, 73%, 20%)
CMYKcmyk(0%, 73.1%, 26.9%, 79.6%)
CIE-LABlab(10.44, 22.28, -6.83)
CIE-LCHlch(10.44, 23.30, 342.95°)
OKLaboklab(23.7% 0.067 -0.0181)
OKLCHoklch(23.7% 0.069 344.8)
XYZxyz(1.9231, 1.1843, 1.9606)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E26 #0E341C
analogous
#2F0E34 #340E26 #340E13
triadic
#340E26 #26340E #0E2634
tetradic
#340E26 #342F0E #0E341C #0E1334
square
#340E26 #342F0E #0E341C #0E1334
split-complementary
#340E26 #13340E #0E342F
monochromatic
#180612 #180612 #340E26 #641B49 #94286C

Accessibility & contrast

On white

16.98
#340E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#340E26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340E26
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E26#FFFFFF#000000##FFFFFF
##340E261.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121827
Deuteranopia (green-blind)
#1D1F25
Tritanopia (blue-blind)
#380E18
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340e26;
/* rgb */ color: rgb(52, 14, 38);
/* oklch */ color: oklch(23.7% 0.069 344.8);
Tailwind
colors: {
  custom: {
    50: '#6d4f60',
    500: '#340e26',
    950: '#000000',
  },
}
SCSS
$custom: #340e26;
$custom-light: #6d4f60;
$custom-dark: #000000;
JSON
{
  "hex": "#340e26",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 38
  },
  "hsl": {
    "h": 322.105,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23704,
    "c": 0.06937,
    "h": 344.8
  },
  "luminance": 0.01184
}

Semantic roles & 50–950 ramp

primary
#340E26
secondary
#2F6F47
accent
#E18047
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340E26

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

Preview Lab → · Contrast checker → · Palette generator →

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