#340E2D#340E2D

#340E2D is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 24.1% C 0.075 H 335.6°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#340E2D
RGBrgb(52, 14, 45)
HSLhsl(311, 58%, 13%)
HSVhsv(311, 73%, 20%)
CMYKcmyk(0%, 73.1%, 13.5%, 79.6%)
CIE-LABlab(10.80, 23.57, -11.47)
CIE-LCHlch(10.80, 26.22, 334.05°)
OKLaboklab(24.09% 0.0687 -0.0312)
OKLCHoklch(24.09% 0.075 335.6)
XYZxyz(2.0469, 1.2338, 2.6124)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E2D #0E3415
analogous
#280E34 #340E2D #340E1A
triadic
#340E2D #2D340E #0E2D34
tetradic
#340E2D #34280E #0E3415 #0E1A34
square
#340E2D #34280E #0E3415 #0E1A34
split-complementary
#340E2D #1A340E #0E3428
monochromatic
#180615 #180615 #340E2D #641B57 #942880

Accessibility & contrast

On white

16.84
#340E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340E2D
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E2D#FFFFFF#000000##FFFFFF
##340E2D1.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340e2d;
/* rgb */ color: rgb(52, 14, 45);
/* oklch */ color: oklch(24.1% 0.075 335.6);
Tailwind
colors: {
  custom: {
    50: '#6d4f66',
    500: '#340e2d',
    950: '#000000',
  },
}
SCSS
$custom: #340e2d;
$custom-light: #6d4f66;
$custom-dark: #000000;
JSON
{
  "hex": "#340e2d",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 45
  },
  "hsl": {
    "h": 311.053,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2409,
    "c": 0.07544,
    "h": 335.6
  },
  "luminance": 0.01234
}

Semantic roles & 50–950 ramp

primary
#340E2D
secondary
#2F6F3B
accent
#E16347
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070205
muted
#7A787A

Preview Lab

Preview with #340E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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