#340717#340717

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

Color values

HEX#340717
RGBrgb(52, 7, 23)
HSLhsl(339, 76%, 12%)
HSVhsv(339, 87%, 20%)
CMYKcmyk(0%, 86.5%, 55.8%, 79.6%)
CIE-LABlab(8.52, 23.71, 1.73)
CIE-LCHlch(8.52, 23.77, 4.17°)
OKLaboklab(22.08% 0.0726 0.0047)
OKLCHoklch(22.08% 0.073 3.7)
XYZxyz(1.6469, 0.9441, 0.9059)
Luminance0.0094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340717 #073424
analogous
#34072E #340717 #340E07
triadic
#340717 #173407 #071734
tetradic
#340717 #2E3407 #073424 #0E0734
square
#340717 #2E3407 #073424 #0E0734
split-complementary
#340717 #07340E #072E34
monochromatic
#1B040C #1B040C #340717 #6A0E2F #A01647

Accessibility & contrast

On white

17.66
#340717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340717
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340717#FFFFFF#000000##FFFFFF
##3407171.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111317
Deuteranopia (green-blind)
#1D1C16
Tritanopia (blue-blind)
#39020E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340717;
/* rgb */ color: rgb(52, 7, 23);
/* oklch */ color: oklch(22.1% 0.073 3.7);
Tailwind
colors: {
  custom: {
    50: '#6f4b53',
    500: '#340717',
    950: '#000000',
  },
}
SCSS
$custom: #340717;
$custom-light: #6f4b53;
$custom-dark: #000000;
JSON
{
  "hex": "#340717",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 23
  },
  "hsl": {
    "h": 338.667,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22081,
    "c": 0.07272,
    "h": 3.7
  },
  "luminance": 0.00944
}

Semantic roles & 50–950 ramp

primary
#340717
secondary
#237457
accent
#F3AF35
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340717

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

Preview Lab → · Contrast checker → · Palette generator →

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