#340C1E#340C1E

#340C1E is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.0% C 0.068 H 356.0°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#340C1E
RGBrgb(52, 12, 30)
HSLhsl(333, 63%, 13%)
HSVhsv(333, 77%, 20%)
CMYKcmyk(0%, 76.9%, 42.3%, 79.6%)
CIE-LABlab(9.70, 22.08, -1.92)
CIE-LCHlch(9.70, 22.16, 355.03°)
OKLaboklab(23.04% 0.0675 -0.0048)
OKLCHoklch(23.04% 0.068 356)
XYZxyz(1.7821, 1.0869, 1.3440)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C1E #0C3422
analogous
#340C32 #340C1E #340E0C
triadic
#340C1E #1E340C #0C1E34
tetradic
#340C1E #32340C #0C3422 #0E0C34
square
#340C1E #32340C #0C3422 #0E0C34
split-complementary
#340C1E #0C340E #0C3234
monochromatic
#19060E #19060E #340C1E #66173B #972357

Accessibility & contrast

On white

17.25
#340C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340C1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340C1E
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C1E#FFFFFF#000000##FFFFFF
##340C1E1.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13161F
Deuteranopia (green-blind)
#1E1E1D
Tritanopia (blue-blind)
#390913
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340c1e;
/* rgb */ color: rgb(52, 12, 30);
/* oklch */ color: oklch(23.0% 0.068 356.0);
Tailwind
colors: {
  custom: {
    50: '#6e4e59',
    500: '#340c1e',
    950: '#000000',
  },
}
SCSS
$custom: #340c1e;
$custom-light: #6e4e59;
$custom-dark: #000000;
JSON
{
  "hex": "#340c1e",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 30
  },
  "hsl": {
    "h": 333,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23038,
    "c": 0.06764,
    "h": 356
  },
  "luminance": 0.01087
}

Semantic roles & 50–950 ramp

primary
#340C1E
secondary
#2C7051
accent
#E69C42
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #340C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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