#340F26#340F26

#340F26 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.9% C 0.068 H 345.2°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#340F26
RGBrgb(52, 15, 38)
HSLhsl(323, 55%, 13%)
HSVhsv(323, 71%, 20%)
CMYKcmyk(0%, 71.2%, 26.9%, 79.6%)
CIE-LABlab(10.64, 21.73, -6.52)
CIE-LCHlch(10.64, 22.68, 343.29°)
OKLaboklab(23.85% 0.0653 -0.0173)
OKLCHoklch(23.85% 0.068 345.2)
XYZxyz(1.9369, 1.2118, 1.9652)
Luminance0.0121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F26 #0F341D
analogous
#2F0F34 #340F26 #340F13
triadic
#340F26 #26340F #0F2634
tetradic
#340F26 #342F0F #0F341D #0F1334
square
#340F26 #342F0F #0F341D #0F1334
split-complementary
#340F26 #13340F #0F342F
monochromatic
#180711 #180711 #340F26 #631D49 #932A6B

Accessibility & contrast

On white

16.90
#340F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#340F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340F26
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F26#FFFFFF#000000##FFFFFF
##340F261.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131927
Deuteranopia (green-blind)
#1D1F25
Tritanopia (blue-blind)
#380F18
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #340f26;
/* rgb */ color: rgb(52, 15, 38);
/* oklch */ color: oklch(23.9% 0.068 345.2);
Tailwind
colors: {
  custom: {
    50: '#6d5060',
    500: '#340f26',
    950: '#000000',
  },
}
SCSS
$custom: #340f26;
$custom-light: #6d5060;
$custom-dark: #000000;
JSON
{
  "hex": "#340f26",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 38
  },
  "hsl": {
    "h": 322.703,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23854,
    "c": 0.06752,
    "h": 345.2
  },
  "luminance": 0.01212
}

Semantic roles & 50–950 ramp

primary
#340F26
secondary
#316E48
accent
#DF8249
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340F26

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

Preview Lab → · Contrast checker → · Palette generator →

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