#340D2B#340D2B

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

Color values

HEX#340D2B
RGBrgb(52, 13, 43)
HSLhsl(314, 60%, 13%)
HSVhsv(314, 75%, 20%)
CMYKcmyk(0%, 75%, 17.3%, 79.6%)
CIE-LABlab(10.50, 23.72, -10.46)
CIE-LCHlch(10.50, 25.92, 336.20°)
OKLaboklab(23.83% 0.0699 -0.0283)
OKLCHoklch(23.83% 0.075 337.9)
XYZxyz(1.9962, 1.1925, 2.4101)
Luminance0.0119 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340D2B #0D3416
analogous
#290D34 #340D2B #340D17
triadic
#340D2B #2B340D #0D2B34
tetradic
#340D2B #34290D #0D3416 #0D1734
square
#340D2B #34290D #0D3416 #0D1734
split-complementary
#340D2B #17340D #0D3429
monochromatic
#180614 #180614 #340D2B #651953 #96257C

Accessibility & contrast

On white

16.96
#340D2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340D2B
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340D2B#FFFFFF#000000##FFFFFF
##340D2B1.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E192C
Deuteranopia (green-blind)
#1A1F2A
Tritanopia (blue-blind)
#370F1A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340d2b;
/* rgb */ color: rgb(52, 13, 43);
/* oklch */ color: oklch(23.8% 0.075 337.9);
Tailwind
colors: {
  custom: {
    50: '#6d4f64',
    500: '#340d2b',
    950: '#000000',
  },
}
SCSS
$custom: #340d2b;
$custom-light: #6d4f64;
$custom-dark: #000000;
JSON
{
  "hex": "#340d2b",
  "rgb": {
    "r": 52,
    "g": 13,
    "b": 43
  },
  "hsl": {
    "h": 313.846,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23833,
    "c": 0.07537,
    "h": 337.9
  },
  "luminance": 0.01192
}

Semantic roles & 50–950 ramp

primary
#340D2B
secondary
#2D6F3D
accent
#E36945
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070205
muted
#7A7879

Preview Lab

Preview with #340D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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