#340A16#340A16

#340A16 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.5% C 0.068 H 7.2°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#340A16
RGBrgb(52, 10, 22)
HSLhsl(343, 68%, 12%)
HSVhsv(343, 81%, 20%)
CMYKcmyk(0%, 80.8%, 57.7%, 79.6%)
CIE-LABlab(9.04, 22.07, 3.21)
CIE-LCHlch(9.04, 22.30, 8.27°)
OKLaboklab(22.45% 0.0672 0.0085)
OKLCHoklch(22.45% 0.068 7.2)
XYZxyz(1.6697, 1.0053, 0.8650)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A16 #0A3428
analogous
#340A2B #340A16 #34130A
triadic
#340A16 #16340A #0A1634
tetradic
#340A16 #2B340A #0A3428 #130A34
square
#340A16 #2B340A #0A3428 #130A34
split-complementary
#340A16 #0A3413 #0A2B34
monochromatic
#1A050B #1A050B #340A16 #67142C #9B1E41

Accessibility & contrast

On white

17.49
#340A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#340A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340A16
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A16#FFFFFF#000000##FFFFFF
##340A161.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141416
Deuteranopia (green-blind)
#1F1D15
Tritanopia (blue-blind)
#39040F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340a16;
/* rgb */ color: rgb(52, 10, 22);
/* oklch */ color: oklch(22.5% 0.068 7.2);
Tailwind
colors: {
  custom: {
    50: '#6f4c52',
    500: '#340a16',
    950: '#000000',
  },
}
SCSS
$custom: #340a16;
$custom-light: #6f4c52;
$custom-dark: #000000;
JSON
{
  "hex": "#340a16",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 22
  },
  "hsl": {
    "h": 342.857,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22454,
    "c": 0.06774,
    "h": 7.2
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#340A16
secondary
#28715D
accent
#EBB93D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340A16

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

Preview Lab → · Contrast checker → · Palette generator →

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