#340C26#340C26

#340C26 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.4% C 0.073 H 344.3°. Best body text is #FFFFFF at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#340C26
RGBrgb(52, 12, 38)
HSLhsl(321, 63%, 13%)
HSVhsv(321, 77%, 20%)
CMYKcmyk(0%, 76.9%, 26.9%, 79.6%)
CIE-LABlab(10.05, 23.34, -7.42)
CIE-LCHlch(10.05, 24.49, 342.35°)
OKLaboklab(23.42% 0.0702 -0.0198)
OKLCHoklch(23.42% 0.073 344.3)
XYZxyz(1.8976, 1.1331, 1.9521)
Luminance0.0113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C26 #0C341A
analogous
#2E0C34 #340C26 #340C12
triadic
#340C26 #26340C #0C2634
tetradic
#340C26 #342E0C #0C341A #0C1234
square
#340C26 #342E0C #0C341A #0C1234
split-complementary
#340C26 #12340C #0C342E
monochromatic
#190612 #190612 #340C26 #66174A #97236F

Accessibility & contrast

On white

17.12
#340C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C26
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C26#FFFFFF#000000##FFFFFF
##340C261.0017.121.2317.12
#FFFFFF17.121.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101727
Deuteranopia (green-blind)
#1C1E25
Tritanopia (blue-blind)
#380C17
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340c26;
/* rgb */ color: rgb(52, 12, 38);
/* oklch */ color: oklch(23.4% 0.073 344.3);
Tailwind
colors: {
  custom: {
    50: '#6d4e60',
    500: '#340c26',
    950: '#000000',
  },
}
SCSS
$custom: #340c26;
$custom-light: #6d4e60;
$custom-dark: #000000;
JSON
{
  "hex": "#340c26",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 38
  },
  "hsl": {
    "h": 321,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2342,
    "c": 0.07291,
    "h": 344.3
  },
  "luminance": 0.01133
}

Semantic roles & 50–950 ramp

primary
#340C26
secondary
#2C7044
accent
#E67B42
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340C26

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

Preview Lab → · Contrast checker → · Palette generator →

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