#340618#340618

#340618 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.0% C 0.075 H 1.7°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#340618
RGBrgb(52, 6, 24)
HSLhsl(337, 79%, 11%)
HSVhsv(337, 88%, 20%)
CMYKcmyk(0%, 88.5%, 53.8%, 79.6%)
CIE-LABlab(8.36, 24.35, 0.74)
CIE-LCHlch(8.36, 24.36, 1.75°)
OKLaboklab(21.98% 0.0747 0.0022)
OKLCHoklch(21.98% 0.075 1.7)
XYZxyz(1.6463, 0.9265, 0.9561)
Luminance0.0093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340618 #063422
analogous
#34062F #340618 #340B06
triadic
#340618 #183406 #061834
tetradic
#340618 #2F3406 #063422 #0B0634
square
#340618 #2F3406 #063422 #0B0634
split-complementary
#340618 #06340B #062F34
monochromatic
#1B030D #1B030D #340618 #6B0C31 #A2134B

Accessibility & contrast

On white

17.72
#340618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#340618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340618
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340618#FFFFFF#000000##FFFFFF
##3406181.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340618;
/* rgb */ color: rgb(52, 6, 24);
/* oklch */ color: oklch(22.0% 0.075 1.7);
Tailwind
colors: {
  custom: {
    50: '#6f4a54',
    500: '#340618',
    950: '#000000',
  },
}
SCSS
$custom: #340618;
$custom-light: #6f4a54;
$custom-dark: #000000;
JSON
{
  "hex": "#340618",
  "rgb": {
    "r": 52,
    "g": 6,
    "b": 24
  },
  "hsl": {
    "h": 336.522,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2198,
    "c": 0.07474,
    "h": 1.7
  },
  "luminance": 0.00926
}

Semantic roles & 50–950 ramp

primary
#340618
secondary
#217454
accent
#F6A932
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340618

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

Preview Lab → · Contrast checker → · Palette generator →

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