#340E2A#340E2A

#340E2A is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.9% C 0.073 H 339.4°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#340E2A
RGBrgb(52, 14, 42)
HSLhsl(316, 58%, 13%)
HSVhsv(316, 73%, 20%)
CMYKcmyk(0%, 73.1%, 19.2%, 79.6%)
CIE-LABlab(10.64, 23.00, -9.50)
CIE-LCHlch(10.64, 24.89, 337.55°)
OKLaboklab(23.92% 0.068 -0.0256)
OKLCHoklch(23.92% 0.073 339.4)
XYZxyz(1.9912, 1.2115, 2.3190)
Luminance0.0121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E2A #0E3418
analogous
#2B0E34 #340E2A #340E17
triadic
#340E2A #2A340E #0E2A34
tetradic
#340E2A #342B0E #0E3418 #0E1734
square
#340E2A #342B0E #0E3418 #0E1734
split-complementary
#340E2A #17340E #0E342B
monochromatic
#180613 #180613 #340E2A #641B51 #942878

Accessibility & contrast

On white

16.91
#340E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340E2A
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E2A#FFFFFF#000000##FFFFFF
##340E2A1.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10192B
Deuteranopia (green-blind)
#1B1F29
Tritanopia (blue-blind)
#370F1A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #340e2a;
/* rgb */ color: rgb(52, 14, 42);
/* oklch */ color: oklch(23.9% 0.073 339.4);
Tailwind
colors: {
  custom: {
    50: '#6d4f63',
    500: '#340e2a',
    950: '#000000',
  },
}
SCSS
$custom: #340e2a;
$custom-light: #6d4f63;
$custom-dark: #000000;
JSON
{
  "hex": "#340e2a",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 42
  },
  "hsl": {
    "h": 315.789,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23918,
    "c": 0.0727,
    "h": 339.4
  },
  "luminance": 0.01211
}

Semantic roles & 50–950 ramp

primary
#340E2A
secondary
#2F6F40
accent
#E16F47
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070205
muted
#7A7879

Preview Lab

Preview with #340E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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