#340B29#340B29

#340B29 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.5% C 0.077 H 340.2°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#340B29
RGBrgb(52, 11, 41)
HSLhsl(316, 65%, 12%)
HSVhsv(316, 79%, 20%)
CMYKcmyk(0%, 78.8%, 21.2%, 79.6%)
CIE-LABlab(10.03, 24.36, -9.71)
CIE-LCHlch(10.03, 26.22, 338.27°)
OKLaboklab(23.45% 0.0725 -0.0261)
OKLCHoklch(23.45% 0.077 340.2)
XYZxyz(1.9361, 1.1297, 2.2135)
Luminance0.0113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B29 #0B3416
analogous
#2B0B34 #340B29 #340B14
triadic
#340B29 #29340B #0B2934
tetradic
#340B29 #342B0B #0B3416 #0B1434
square
#340B29 #342B0B #0B3416 #0B1434
split-complementary
#340B29 #14340B #0B342B
monochromatic
#190514 #190514 #340B29 #671651 #992079

Accessibility & contrast

On white

17.13
#340B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#340B29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340B29
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B29#FFFFFF#000000##FFFFFF
##340B291.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E172A
Deuteranopia (green-blind)
#1A1E28
Tritanopia (blue-blind)
#380C18
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340b29;
/* rgb */ color: rgb(52, 11, 41);
/* oklch */ color: oklch(23.5% 0.077 340.2);
Tailwind
colors: {
  custom: {
    50: '#6d4e62',
    500: '#340b29',
    950: '#000000',
  },
}
SCSS
$custom: #340b29;
$custom-light: #6d4e62;
$custom-dark: #000000;
JSON
{
  "hex": "#340b29",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 41
  },
  "hsl": {
    "h": 316.098,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23451,
    "c": 0.07702,
    "h": 340.2
  },
  "luminance": 0.0113
}

Semantic roles & 50–950 ramp

primary
#340B29
secondary
#2A713D
accent
#E86D40
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #340B29

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

Preview Lab → · Contrast checker → · Palette generator →

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