#340A29#340A29

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

Color values

HEX#340A29
RGBrgb(52, 10, 41)
HSLhsl(316, 68%, 12%)
HSVhsv(316, 81%, 20%)
CMYKcmyk(0%, 80.8%, 21.2%, 79.6%)
CIE-LABlab(9.86, 24.84, -9.97)
CIE-LCHlch(9.86, 26.77, 338.12°)
OKLaboklab(23.33% 0.0739 -0.0269)
OKLCHoklch(23.33% 0.079 340)
XYZxyz(1.9250, 1.1074, 2.2098)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A29 #0A3415
analogous
#2A0A34 #340A29 #340A14
triadic
#340A29 #29340A #0A2934
tetradic
#340A29 #342A0A #0A3415 #0A1434
square
#340A29 #342A0A #0A3415 #0A1434
split-complementary
#340A29 #14340A #0A342A
monochromatic
#1A0514 #1A0514 #340A29 #671451 #9B1E7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##340A29#FFFFFF#000000##FFFFFF
##340A291.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)
#0D172A
Deuteranopia (green-blind)
#1A1E28
Tritanopia (blue-blind)
#380B18
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340a29;
/* rgb */ color: rgb(52, 10, 41);
/* oklch */ color: oklch(23.3% 0.079 340.0);
Tailwind
colors: {
  custom: {
    50: '#6d4d62',
    500: '#340a29',
    950: '#000000',
  },
}
SCSS
$custom: #340a29;
$custom-light: #6d4d62;
$custom-dark: #000000;
JSON
{
  "hex": "#340a29",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 41
  },
  "hsl": {
    "h": 315.714,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23326,
    "c": 0.07864,
    "h": 340
  },
  "luminance": 0.01107
}

Semantic roles & 50–950 ramp

primary
#340A29
secondary
#28713C
accent
#EB6B3D
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #340A29

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

Preview Lab → · Contrast checker → · Palette generator →

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