#340C17#340C17

#340C17 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 22.8% C 0.065 H 7.1°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#340C17
RGBrgb(52, 12, 23)
HSLhsl(344, 63%, 13%)
HSVhsv(344, 77%, 20%)
CMYKcmyk(0%, 76.9%, 55.8%, 79.6%)
CIE-LABlab(9.44, 21.16, 3.06)
CIE-LCHlch(9.44, 21.38, 8.22°)
OKLaboklab(22.77% 0.0644 0.008)
OKLCHoklch(22.77% 0.065 7.1)
XYZxyz(1.7024, 1.0551, 0.9244)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C17 #0C3429
analogous
#340C2B #340C17 #34150C
triadic
#340C17 #17340C #0C1734
tetradic
#340C17 #2B340C #0C3429 #150C34
square
#340C17 #2B340C #0C3429 #150C34
split-complementary
#340C17 #0C3415 #0C2B34
monochromatic
#19060B #19060B #340C17 #66172D #972343

Accessibility & contrast

On white

17.34
#340C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#340C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340C17
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C17#FFFFFF#000000##FFFFFF
##340C171.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151517
Deuteranopia (green-blind)
#1F1D16
Tritanopia (blue-blind)
#390710
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340c17;
/* rgb */ color: rgb(52, 12, 23);
/* oklch */ color: oklch(22.8% 0.065 7.1);
Tailwind
colors: {
  custom: {
    50: '#6e4d53',
    500: '#340c17',
    950: '#000000',
  },
}
SCSS
$custom: #340c17;
$custom-light: #6e4d53;
$custom-dark: #000000;
JSON
{
  "hex": "#340c17",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 23
  },
  "hsl": {
    "h": 343.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22767,
    "c": 0.06492,
    "h": 7.1
  },
  "luminance": 0.01055
}

Semantic roles & 50–950 ramp

primary
#340C17
secondary
#2C705D
accent
#E6B942
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #340C17

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

Preview Lab → · Contrast checker → · Palette generator →

#340C17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva