#340E2C#340E2C

#340E2C is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 24.0% C 0.074 H 336.8°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#340E2C
RGBrgb(52, 14, 44)
HSLhsl(313, 58%, 13%)
HSVhsv(313, 73%, 20%)
CMYKcmyk(0%, 73.1%, 15.4%, 79.6%)
CIE-LABlab(10.75, 23.38, -10.82)
CIE-LCHlch(10.75, 25.76, 335.17°)
OKLaboklab(24.03% 0.0685 -0.0293)
OKLCHoklch(24.03% 0.075 336.8)
XYZxyz(2.0279, 1.2262, 2.5123)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E2C #0E3416
analogous
#290E34 #340E2C #340E19
triadic
#340E2C #2C340E #0E2C34
tetradic
#340E2C #34290E #0E3416 #0E1934
square
#340E2C #34290E #0E3416 #0E1934
split-complementary
#340E2C #19340E #0E3429
monochromatic
#180614 #180614 #340E2C #641B55 #94287E

Accessibility & contrast

On white

16.86
#340E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#340E2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340E2C
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E2C#FFFFFF#000000##FFFFFF
##340E2C1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192D
Deuteranopia (green-blind)
#1B1F2B
Tritanopia (blue-blind)
#37101B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #340e2c;
/* rgb */ color: rgb(52, 14, 44);
/* oklch */ color: oklch(24.0% 0.074 336.8);
Tailwind
colors: {
  custom: {
    50: '#6d4f65',
    500: '#340e2c',
    950: '#000000',
  },
}
SCSS
$custom: #340e2c;
$custom-light: #6d4f65;
$custom-dark: #000000;
JSON
{
  "hex": "#340e2c",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 44
  },
  "hsl": {
    "h": 312.632,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.24032,
    "c": 0.0745,
    "h": 336.8
  },
  "luminance": 0.01226
}

Semantic roles & 50–950 ramp

primary
#340E2C
secondary
#2F6F3C
accent
#E16747
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070205
muted
#7A787A

Preview Lab

Preview with #340E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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