#340C19#340C19

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

Color values

HEX#340C19
RGBrgb(52, 12, 25)
HSLhsl(341, 63%, 13%)
HSVhsv(341, 77%, 20%)
CMYKcmyk(0%, 76.9%, 51.9%, 79.6%)
CIE-LABlab(9.51, 21.40, 1.63)
CIE-LCHlch(9.51, 21.46, 4.35°)
OKLaboklab(22.84% 0.0654 0.0044)
OKLCHoklch(22.84% 0.066 3.9)
XYZxyz(1.7232, 1.0634, 1.0340)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C19 #0C3427
analogous
#340C2D #340C19 #34130C
triadic
#340C19 #19340C #0C1934
tetradic
#340C19 #2D340C #0C3427 #130C34
square
#340C19 #2D340C #0C3427 #130C34
split-complementary
#340C19 #0C3413 #0C2D34
monochromatic
#19060C #19060C #340C19 #661731 #972349

Accessibility & contrast

On white

17.32
#340C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C19
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C19#FFFFFF#000000##FFFFFF
##340C191.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141619
Deuteranopia (green-blind)
#1F1D18
Tritanopia (blue-blind)
#390711
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340c19;
/* rgb */ color: rgb(52, 12, 25);
/* oklch */ color: oklch(22.8% 0.066 3.9);
Tailwind
colors: {
  custom: {
    50: '#6e4d55',
    500: '#340c19',
    950: '#000000',
  },
}
SCSS
$custom: #340c19;
$custom-light: #6e4d55;
$custom-dark: #000000;
JSON
{
  "hex": "#340c19",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 25
  },
  "hsl": {
    "h": 340.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22838,
    "c": 0.0655,
    "h": 3.9
  },
  "luminance": 0.01063
}

Semantic roles & 50–950 ramp

primary
#340C19
secondary
#2C705A
accent
#E6B042
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070103
muted
#7A7778

Preview Lab

Preview with #340C19

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

Preview Lab → · Contrast checker → · Palette generator →

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