#340729#340729

#340729 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.9% C 0.084 H 339.6°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#340729
RGBrgb(52, 7, 41)
HSLhsl(315, 76%, 12%)
HSVhsv(315, 87%, 20%)
CMYKcmyk(0%, 86.5%, 21.2%, 79.6%)
CIE-LABlab(9.34, 26.30, -10.78)
CIE-LCHlch(9.34, 28.42, 337.72°)
OKLaboklab(22.95% 0.0783 -0.0291)
OKLCHoklch(22.95% 0.084 339.6)
XYZxyz(1.8924, 1.0423, 2.1989)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340729 #073412
analogous
#290734 #340729 #340713
triadic
#340729 #293407 #072934
tetradic
#340729 #342907 #073412 #071334
square
#340729 #342907 #073412 #071334
split-complementary
#340729 #133407 #073429
monochromatic
#1B0415 #1B0415 #340729 #6A0E54 #A0167E

Accessibility & contrast

On white

17.38
#340729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340729
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340729#FFFFFF#000000##FFFFFF
##3407291.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A162A
Deuteranopia (green-blind)
#181D28
Tritanopia (blue-blind)
#380817
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340729;
/* rgb */ color: rgb(52, 7, 41);
/* oklch */ color: oklch(22.9% 0.084 339.6);
Tailwind
colors: {
  custom: {
    50: '#6e4c62',
    500: '#340729',
    950: '#000000',
  },
}
SCSS
$custom: #340729;
$custom-light: #6e4c62;
$custom-dark: #000000;
JSON
{
  "hex": "#340729",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 41
  },
  "hsl": {
    "h": 314.667,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2295,
    "c": 0.08354,
    "h": 339.6
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#340729
secondary
#237437
accent
#F36335
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #340729

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

Preview Lab → · Contrast checker → · Palette generator →

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