#340B26#340B26

#340B26 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.3% C 0.075 H 344.0°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#340B26
RGBrgb(52, 11, 38)
HSLhsl(320, 65%, 12%)
HSVhsv(320, 79%, 20%)
CMYKcmyk(0%, 78.8%, 26.9%, 79.6%)
CIE-LABlab(9.87, 23.84, -7.70)
CIE-LCHlch(9.87, 25.05, 342.09°)
OKLaboklab(23.29% 0.0717 -0.0205)
OKLCHoklch(23.29% 0.075 344)
XYZxyz(1.8858, 1.1095, 1.9482)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B26 #0B3419
analogous
#2E0B34 #340B26 #340B12
triadic
#340B26 #26340B #0B2634
tetradic
#340B26 #342E0B #0B3419 #0B1234
square
#340B26 #342E0B #0B3419 #0B1234
split-complementary
#340B26 #12340B #0B342E
monochromatic
#190512 #190512 #340B26 #67164B #992070

Accessibility & contrast

On white

17.19
#340B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B26
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B26#FFFFFF#000000##FFFFFF
##340B261.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1727
Deuteranopia (green-blind)
#1B1E25
Tritanopia (blue-blind)
#380B17
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340b26;
/* rgb */ color: rgb(52, 11, 38);
/* oklch */ color: oklch(23.3% 0.075 344.0);
Tailwind
colors: {
  custom: {
    50: '#6d4d60',
    500: '#340b26',
    950: '#000000',
  },
}
SCSS
$custom: #340b26;
$custom-light: #6d4d60;
$custom-dark: #000000;
JSON
{
  "hex": "#340b26",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 38
  },
  "hsl": {
    "h": 320.488,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23287,
    "c": 0.0746,
    "h": 344
  },
  "luminance": 0.01109
}

Semantic roles & 50–950 ramp

primary
#340B26
secondary
#2A7142
accent
#E87940
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340B26

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

Preview Lab → · Contrast checker → · Palette generator →

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