#340F29#340F29

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

Color values

HEX#340F29
RGBrgb(52, 15, 41)
HSLhsl(318, 55%, 13%)
HSVhsv(318, 71%, 20%)
CMYKcmyk(0%, 71.2%, 21.2%, 79.6%)
CIE-LABlab(10.79, 22.27, -8.53)
CIE-LCHlch(10.79, 23.84, 339.03°)
OKLaboklab(24.01% 0.0661 -0.0229)
OKLCHoklch(24.01% 0.07 340.9)
XYZxyz(1.9873, 1.2320, 2.2305)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F29 #0F341A
analogous
#2C0F34 #340F29 #340F16
triadic
#340F29 #29340F #0F2934
tetradic
#340F29 #342C0F #0F341A #0F1634
square
#340F29 #342C0F #0F341A #0F1634
split-complementary
#340F29 #16340F #0F342C
monochromatic
#180713 #180713 #340F29 #631D4E #932A74

Accessibility & contrast

On white

16.85
#340F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340F29
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F29#FFFFFF#000000##FFFFFF
##340F291.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11192A
Deuteranopia (green-blind)
#1C1F28
Tritanopia (blue-blind)
#37101A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #340f29;
/* rgb */ color: rgb(52, 15, 41);
/* oklch */ color: oklch(24.0% 0.070 340.9);
Tailwind
colors: {
  custom: {
    50: '#6d5062',
    500: '#340f29',
    950: '#000000',
  },
}
SCSS
$custom: #340f29;
$custom-light: #6d5062;
$custom-dark: #000000;
JSON
{
  "hex": "#340f29",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 41
  },
  "hsl": {
    "h": 317.838,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24011,
    "c": 0.06999,
    "h": 340.9
  },
  "luminance": 0.01232
}

Semantic roles & 50–950 ramp

primary
#340F29
secondary
#316E43
accent
#DF7649
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070205
muted
#7A7879

Preview Lab

Preview with #340F29

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

Preview Lab → · Contrast checker → · Palette generator →

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