#340317#340317

#340317 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.5% C 0.080 H 1.4°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#340317
RGBrgb(52, 3, 23)
HSLhsl(336, 89%, 11%)
HSVhsv(336, 94%, 20%)
CMYKcmyk(0%, 94.2%, 55.8%, 79.6%)
CIE-LABlab(7.74, 25.89, 0.60)
CIE-LCHlch(7.74, 25.90, 1.33°)
OKLaboklab(21.51% 0.0796 0.0019)
OKLCHoklch(21.51% 0.08 1.4)
XYZxyz(1.6035, 0.8573, 0.8915)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340317 #033420
analogous
#34032F #340317 #340703
triadic
#340317 #173403 #031734
tetradic
#340317 #2F3403 #033420 #070334
square
#340317 #2F3403 #033420 #070334
split-complementary
#340317 #033407 #032F34
monochromatic
#1D020D #1D020D #340317 #6E0631 #A80A4A

Accessibility & contrast

On white

17.93
#340317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#340317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340317
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340317#FFFFFF#000000##FFFFFF
##3403171.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1117
Deuteranopia (green-blind)
#1C1A16
Tritanopia (blue-blind)
#39000B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340317;
/* rgb */ color: rgb(52, 3, 23);
/* oklch */ color: oklch(21.5% 0.080 1.4);
Tailwind
colors: {
  custom: {
    50: '#6f4853',
    500: '#340317',
    950: '#000000',
  },
}
SCSS
$custom: #340317;
$custom-light: #6f4853;
$custom-dark: #000000;
JSON
{
  "hex": "#340317",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 23
  },
  "hsl": {
    "h": 335.51,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21511,
    "c": 0.07966,
    "h": 1.4
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#340317
secondary
#1C7752
accent
#FFA829
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340317

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

Preview Lab → · Contrast checker → · Palette generator →

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