#340E24#340E24

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

Color values

HEX#340E24
RGBrgb(52, 14, 36)
HSLhsl(325, 58%, 13%)
HSVhsv(325, 73%, 20%)
CMYKcmyk(0%, 73.1%, 30.8%, 79.6%)
CIE-LABlab(10.35, 21.94, -5.48)
CIE-LCHlch(10.35, 22.61, 345.98°)
OKLaboklab(23.6% 0.0663 -0.0144)
OKLCHoklch(23.6% 0.068 347.7)
XYZxyz(1.8917, 1.1717, 1.7953)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E24 #0E341E
analogous
#310E34 #340E24 #340E11
triadic
#340E24 #24340E #0E2434
tetradic
#340E24 #34310E #0E341E #0E1134
square
#340E24 #34310E #0E341E #0E1134
split-complementary
#340E24 #11340E #0E3431
monochromatic
#180611 #180611 #340E24 #641B45 #942867

Accessibility & contrast

On white

17.01
#340E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340E24
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E24#FFFFFF#000000##FFFFFF
##340E241.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121825
Deuteranopia (green-blind)
#1D1F23
Tritanopia (blue-blind)
#380D17
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340e24;
/* rgb */ color: rgb(52, 14, 36);
/* oklch */ color: oklch(23.6% 0.068 347.7);
Tailwind
colors: {
  custom: {
    50: '#6d4f5e',
    500: '#340e24',
    950: '#000000',
  },
}
SCSS
$custom: #340e24;
$custom-light: #6d4f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#340e24",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 36
  },
  "hsl": {
    "h": 325.263,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23604,
    "c": 0.06787,
    "h": 347.7
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#340E24
secondary
#2F6F4A
accent
#E18847
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340E24

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

Preview Lab → · Contrast checker → · Palette generator →

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