#340417#340417

#340417 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.7% C 0.078 H 1.9°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#340417
RGBrgb(52, 4, 23)
HSLhsl(336, 86%, 11%)
HSVhsv(336, 92%, 20%)
CMYKcmyk(0%, 92.3%, 55.8%, 79.6%)
CIE-LABlab(7.94, 25.34, 0.89)
CIE-LCHlch(7.94, 25.35, 2.00°)
OKLaboklab(21.66% 0.0778 0.0026)
OKLCHoklch(21.66% 0.078 1.9)
XYZxyz(1.6144, 0.8790, 0.8951)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340417 #043421
analogous
#34042F #340417 #340904
triadic
#340417 #173404 #041734
tetradic
#340417 #2F3404 #043421 #090434
square
#340417 #2F3404 #043421 #090434
split-complementary
#340417 #043409 #042F34
monochromatic
#1C020D #1C020D #340417 #6D0830 #A60D49

Accessibility & contrast

On white

17.86
#340417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340417
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340417#FFFFFF#000000##FFFFFF
##3404171.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1117
Deuteranopia (green-blind)
#1C1B16
Tritanopia (blue-blind)
#39000C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340417;
/* rgb */ color: rgb(52, 4, 23);
/* oklch */ color: oklch(21.7% 0.078 1.9);
Tailwind
colors: {
  custom: {
    50: '#6f4953',
    500: '#340417',
    950: '#000000',
  },
}
SCSS
$custom: #340417;
$custom-light: #6f4953;
$custom-dark: #000000;
JSON
{
  "hex": "#340417",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 23
  },
  "hsl": {
    "h": 336.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21657,
    "c": 0.07785,
    "h": 1.9
  },
  "luminance": 0.00879
}

Semantic roles & 50–950 ramp

primary
#340417
secondary
#1E7653
accent
#FCAA2C
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340417

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

Preview Lab → · Contrast checker → · Palette generator →

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