#340829#340829

#340829 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.1% C 0.082 H 339.7°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#340829
RGBrgb(52, 8, 41)
HSLhsl(315, 73%, 12%)
HSVhsv(315, 85%, 20%)
CMYKcmyk(0%, 84.6%, 21.2%, 79.6%)
CIE-LABlab(9.51, 25.80, -10.51)
CIE-LCHlch(9.51, 27.86, 337.85°)
OKLaboklab(23.08% 0.0768 -0.0284)
OKLCHoklch(23.08% 0.082 339.7)
XYZxyz(1.9033, 1.0640, 2.2025)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340829 #083413
analogous
#290834 #340829 #340813
triadic
#340829 #293408 #082934
tetradic
#340829 #342908 #083413 #081334
square
#340829 #342908 #083413 #081334
split-complementary
#340829 #133408 #083429
monochromatic
#1B0415 #1B0415 #340829 #691053 #9E187D

Accessibility & contrast

On white

17.32
#340829 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#340829 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340829
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340829#FFFFFF#000000##FFFFFF
##3408291.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B162A
Deuteranopia (green-blind)
#191D28
Tritanopia (blue-blind)
#380917
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340829;
/* rgb */ color: rgb(52, 8, 41);
/* oklch */ color: oklch(23.1% 0.082 339.7);
Tailwind
colors: {
  custom: {
    50: '#6e4c62',
    500: '#340829',
    950: '#000000',
  },
}
SCSS
$custom: #340829;
$custom-light: #6e4c62;
$custom-dark: #000000;
JSON
{
  "hex": "#340829",
  "rgb": {
    "r": 52,
    "g": 8,
    "b": 41
  },
  "hsl": {
    "h": 315,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23077,
    "c": 0.08187,
    "h": 339.7
  },
  "luminance": 0.01064
}

Semantic roles & 50–950 ramp

primary
#340829
secondary
#257338
accent
#F06638
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #340829

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

Preview Lab → · Contrast checker → · Palette generator →

#340829 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva