#340D24#340D24

#340D24 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.5% C 0.070 H 347.4°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#340D24
RGBrgb(52, 13, 36)
HSLhsl(325, 60%, 13%)
HSVhsv(325, 75%, 20%)
CMYKcmyk(0%, 75%, 30.8%, 79.6%)
CIE-LABlab(10.15, 22.48, -5.78)
CIE-LCHlch(10.15, 23.21, 345.58°)
OKLaboklab(23.46% 0.068 -0.0152)
OKLCHoklch(23.46% 0.07 347.4)
XYZxyz(1.8786, 1.1455, 1.7909)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340D24 #0D341D
analogous
#300D34 #340D24 #340D11
triadic
#340D24 #24340D #0D2434
tetradic
#340D24 #34300D #0D341D #0D1134
square
#340D24 #34300D #0D341D #0D1134
split-complementary
#340D24 #11340D #0D3430
monochromatic
#180611 #180611 #340D24 #651946 #962568

Accessibility & contrast

On white

17.09
#340D24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340D24
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340D24#FFFFFF#000000##FFFFFF
##340D241.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340d24;
/* rgb */ color: rgb(52, 13, 36);
/* oklch */ color: oklch(23.5% 0.070 347.4);
Tailwind
colors: {
  custom: {
    50: '#6d4e5e',
    500: '#340d24',
    950: '#000000',
  },
}
SCSS
$custom: #340d24;
$custom-light: #6d4e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#340d24",
  "rgb": {
    "r": 52,
    "g": 13,
    "b": 36
  },
  "hsl": {
    "h": 324.615,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23458,
    "c": 0.06966,
    "h": 347.4
  },
  "luminance": 0.01145
}

Semantic roles & 50–950 ramp

primary
#340D24
secondary
#2D6F48
accent
#E38645
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340D24

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

Preview Lab → · Contrast checker → · Palette generator →

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