#340F2A#340F2A

#340F2A is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 24.1% C 0.071 H 339.6°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#340F2A
RGBrgb(52, 15, 42)
HSLhsl(316, 55%, 13%)
HSVhsv(316, 71%, 20%)
CMYKcmyk(0%, 71.2%, 19.2%, 79.6%)
CIE-LABlab(10.84, 22.46, -9.20)
CIE-LCHlch(10.84, 24.27, 337.73°)
OKLaboklab(24.07% 0.0664 -0.0247)
OKLCHoklch(24.07% 0.071 339.6)
XYZxyz(2.0050, 1.2390, 2.3236)
Luminance0.0124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F2A #0F3419
analogous
#2B0F34 #340F2A #340F17
triadic
#340F2A #2A340F #0F2A34
tetradic
#340F2A #342B0F #0F3419 #0F1734
square
#340F2A #342B0F #0F3419 #0F1734
split-complementary
#340F2A #17340F #0F342B
monochromatic
#180713 #180713 #340F2A #631D50 #932A77

Accessibility & contrast

On white

16.83
#340F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#340F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340F2A
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F2A#FFFFFF#000000##FFFFFF
##340F2A1.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11192B
Deuteranopia (green-blind)
#1C1F29
Tritanopia (blue-blind)
#37101A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #340f2a;
/* rgb */ color: rgb(52, 15, 42);
/* oklch */ color: oklch(24.1% 0.071 339.6);
Tailwind
colors: {
  custom: {
    50: '#6d5063',
    500: '#340f2a',
    950: '#000000',
  },
}
SCSS
$custom: #340f2a;
$custom-light: #6d5063;
$custom-dark: #000000;
JSON
{
  "hex": "#340f2a",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 42
  },
  "hsl": {
    "h": 316.216,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24065,
    "c": 0.07086,
    "h": 339.6
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#340F2A
secondary
#316E41
accent
#DF7249
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070205
muted
#7A7879

Preview Lab

Preview with #340F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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