#340612#340612

#340612 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.8% C 0.073 H 10.2°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#340612
RGBrgb(52, 6, 18)
HSLhsl(344, 79%, 11%)
HSVhsv(344, 88%, 20%)
CMYKcmyk(0%, 88.5%, 65.4%, 79.6%)
CIE-LABlab(8.17, 23.73, 4.60)
CIE-LCHlch(8.17, 24.17, 10.97°)
OKLaboklab(21.77% 0.072 0.013)
OKLCHoklch(21.77% 0.073 10.2)
XYZxyz(1.5906, 0.9042, 0.6629)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340612 #063428
analogous
#340629 #340612 #341106
triadic
#340612 #123406 #061234
tetradic
#340612 #293406 #063428 #110634
square
#340612 #293406 #063428 #110634
split-complementary
#340612 #063411 #062934
monochromatic
#1B0309 #1B0309 #340612 #6B0C25 #A21338

Accessibility & contrast

On white

17.78
#340612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340612
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340612#FFFFFF#000000##FFFFFF
##3406121.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121212
Deuteranopia (green-blind)
#1E1B11
Tritanopia (blue-blind)
#3A000B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340612;
/* rgb */ color: rgb(52, 6, 18);
/* oklch */ color: oklch(21.8% 0.073 10.2);
Tailwind
colors: {
  custom: {
    50: '#6f4a4f',
    500: '#340612',
    950: '#000000',
  },
}
SCSS
$custom: #340612;
$custom-light: #6f4a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#340612",
  "rgb": {
    "r": 52,
    "g": 6,
    "b": 18
  },
  "hsl": {
    "h": 344.348,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21771,
    "c": 0.07312,
    "h": 10.2
  },
  "luminance": 0.00904
}

Semantic roles & 50–950 ramp

primary
#340612
secondary
#21745F
accent
#F6C332
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340612

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

Preview Lab → · Contrast checker → · Palette generator →

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