#340C29#340C29

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

Color values

HEX#340C29
RGBrgb(52, 12, 41)
HSLhsl(317, 63%, 13%)
HSVhsv(317, 77%, 20%)
CMYKcmyk(0%, 76.9%, 21.2%, 79.6%)
CIE-LABlab(10.21, 23.86, -9.43)
CIE-LCHlch(10.21, 25.66, 338.44°)
OKLaboklab(23.58% 0.071 -0.0254)
OKLCHoklch(23.58% 0.075 340.3)
XYZxyz(1.9479, 1.1533, 2.2174)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C29 #0C3417
analogous
#2B0C34 #340C29 #340C15
triadic
#340C29 #29340C #0C2934
tetradic
#340C29 #342B0C #0C3417 #0C1534
square
#340C29 #342B0C #0C3417 #0C1534
split-complementary
#340C29 #15340C #0C342B
monochromatic
#190614 #190614 #340C29 #661750 #972377

Accessibility & contrast

On white

17.06
#340C29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#340C29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340C29
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C29#FFFFFF#000000##FFFFFF
##340C291.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E182A
Deuteranopia (green-blind)
#1B1E28
Tritanopia (blue-blind)
#370D19
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340c29;
/* rgb */ color: rgb(52, 12, 41);
/* oklch */ color: oklch(23.6% 0.075 340.3);
Tailwind
colors: {
  custom: {
    50: '#6d4e62',
    500: '#340c29',
    950: '#000000',
  },
}
SCSS
$custom: #340c29;
$custom-light: #6d4e62;
$custom-dark: #000000;
JSON
{
  "hex": "#340c29",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 41
  },
  "hsl": {
    "h": 316.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23583,
    "c": 0.07535,
    "h": 340.3
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#340C29
secondary
#2C703F
accent
#E66F42
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070205
muted
#7A7879

Preview Lab

Preview with #340C29

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

Preview Lab → · Contrast checker → · Palette generator →

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