#340A1D#340A1D

#340A1D is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.7% C 0.070 H 356.5°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#340A1D
RGBrgb(52, 10, 29)
HSLhsl(333, 68%, 12%)
HSVhsv(333, 81%, 20%)
CMYKcmyk(0%, 80.8%, 44.2%, 79.6%)
CIE-LABlab(9.29, 22.94, -1.76)
CIE-LCHlch(9.29, 23.01, 355.62°)
OKLaboklab(22.72% 0.0703 -0.0043)
OKLCHoklch(22.72% 0.07 356.5)
XYZxyz(1.7466, 1.0361, 1.2702)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A1D #0A3421
analogous
#340A32 #340A1D #340C0A
triadic
#340A1D #1D340A #0A1D34
tetradic
#340A1D #32340A #0A3421 #0C0A34
square
#340A1D #32340A #0A3421 #0C0A34
split-complementary
#340A1D #0A340C #0A3234
monochromatic
#1A050E #1A050E #340A1D #67143A #9B1E56

Accessibility & contrast

On white

17.40
#340A1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340A1D
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A1D#FFFFFF#000000##FFFFFF
##340A1D1.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12151E
Deuteranopia (green-blind)
#1D1D1C
Tritanopia (blue-blind)
#390612
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340a1d;
/* rgb */ color: rgb(52, 10, 29);
/* oklch */ color: oklch(22.7% 0.070 356.5);
Tailwind
colors: {
  custom: {
    50: '#6e4d58',
    500: '#340a1d',
    950: '#000000',
  },
}
SCSS
$custom: #340a1d;
$custom-light: #6e4d58;
$custom-dark: #000000;
JSON
{
  "hex": "#340a1d",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 29
  },
  "hsl": {
    "h": 332.857,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22724,
    "c": 0.07038,
    "h": 356.5
  },
  "luminance": 0.01036
}

Semantic roles & 50–950 ramp

primary
#340A1D
secondary
#287150
accent
#EB9C3D
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #340A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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