#340D29#340D29

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

Color values

HEX#340D29
RGBrgb(52, 13, 41)
HSLhsl(317, 60%, 13%)
HSVhsv(317, 75%, 20%)
CMYKcmyk(0%, 75%, 21.2%, 79.6%)
CIE-LABlab(10.40, 23.35, -9.14)
CIE-LCHlch(10.40, 25.07, 338.62°)
OKLaboklab(23.72% 0.0694 -0.0246)
OKLCHoklch(23.72% 0.074 340.5)
XYZxyz(1.9604, 1.1782, 2.2216)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340D29 #0D3418
analogous
#2B0D34 #340D29 #340D15
triadic
#340D29 #29340D #0D2934
tetradic
#340D29 #342B0D #0D3418 #0D1534
square
#340D29 #342B0D #0D3418 #0D1534
split-complementary
#340D29 #15340D #0D342B
monochromatic
#180613 #180613 #340D29 #651950 #962576

Accessibility & contrast

On white

17.00
#340D29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340D29
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340D29#FFFFFF#000000##FFFFFF
##340D291.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F182A
Deuteranopia (green-blind)
#1B1F28
Tritanopia (blue-blind)
#370E19
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340d29;
/* rgb */ color: rgb(52, 13, 41);
/* oklch */ color: oklch(23.7% 0.074 340.5);
Tailwind
colors: {
  custom: {
    50: '#6d4f62',
    500: '#340d29',
    950: '#000000',
  },
}
SCSS
$custom: #340d29;
$custom-light: #6d4f62;
$custom-dark: #000000;
JSON
{
  "hex": "#340d29",
  "rgb": {
    "r": 52,
    "g": 13,
    "b": 41
  },
  "hsl": {
    "h": 316.923,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2372,
    "c": 0.07361,
    "h": 340.5
  },
  "luminance": 0.01178
}

Semantic roles & 50–950 ramp

primary
#340D29
secondary
#2D6F40
accent
#E37145
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070205
muted
#7A7879

Preview Lab

Preview with #340D29

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

Preview Lab → · Contrast checker → · Palette generator →

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