#340617#340617

#340617 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.9% C 0.074 H 3.1°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#340617
RGBrgb(52, 6, 23)
HSLhsl(338, 79%, 11%)
HSVhsv(338, 88%, 20%)
CMYKcmyk(0%, 88.5%, 55.8%, 79.6%)
CIE-LABlab(8.33, 24.24, 1.45)
CIE-LCHlch(8.33, 24.28, 3.43°)
OKLaboklab(21.94% 0.0743 0.004)
OKLCHoklch(21.94% 0.074 3.1)
XYZxyz(1.6361, 0.9224, 0.9023)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340617 #063423
analogous
#34062E #340617 #340C06
triadic
#340617 #173406 #061734
tetradic
#340617 #2E3406 #063423 #0C0634
square
#340617 #2E3406 #063423 #0C0634
split-complementary
#340617 #06340C #062E34
monochromatic
#1B030C #1B030C #340617 #6B0C2F #A21348

Accessibility & contrast

On white

17.73
#340617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#340617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340617
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340617#FFFFFF#000000##FFFFFF
##3406171.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111217
Deuteranopia (green-blind)
#1D1B16
Tritanopia (blue-blind)
#39010D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340617;
/* rgb */ color: rgb(52, 6, 23);
/* oklch */ color: oklch(21.9% 0.074 3.1);
Tailwind
colors: {
  custom: {
    50: '#6f4a53',
    500: '#340617',
    950: '#000000',
  },
}
SCSS
$custom: #340617;
$custom-light: #6f4a53;
$custom-dark: #000000;
JSON
{
  "hex": "#340617",
  "rgb": {
    "r": 52,
    "g": 6,
    "b": 23
  },
  "hsl": {
    "h": 337.826,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21942,
    "c": 0.07438,
    "h": 3.1
  },
  "luminance": 0.00922
}

Semantic roles & 50–950 ramp

primary
#340617
secondary
#217456
accent
#F6AD32
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340617

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

Preview Lab → · Contrast checker → · Palette generator →

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