#340C24#340C24

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

Color values

HEX#340C24
RGBrgb(52, 12, 36)
HSLhsl(324, 63%, 13%)
HSVhsv(324, 77%, 20%)
CMYKcmyk(0%, 76.9%, 30.8%, 79.6%)
CIE-LABlab(9.96, 23.00, -6.07)
CIE-LCHlch(9.96, 23.79, 345.22°)
OKLaboklab(23.32% 0.0696 -0.016)
OKLCHoklch(23.32% 0.071 347.1)
XYZxyz(1.8662, 1.1206, 1.7867)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C24 #0C341C
analogous
#300C34 #340C24 #340C10
triadic
#340C24 #24340C #0C2434
tetradic
#340C24 #34300C #0C341C #0C1034
square
#340C24 #34300C #0C341C #0C1034
split-complementary
#340C24 #10340C #0C3430
monochromatic
#190611 #190611 #340C24 #661746 #972369

Accessibility & contrast

On white

17.16
#340C24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C24
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C24#FFFFFF#000000##FFFFFF
##340C241.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111725
Deuteranopia (green-blind)
#1C1E23
Tritanopia (blue-blind)
#380B16
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340c24;
/* rgb */ color: rgb(52, 12, 36);
/* oklch */ color: oklch(23.3% 0.071 347.1);
Tailwind
colors: {
  custom: {
    50: '#6d4e5e',
    500: '#340c24',
    950: '#000000',
  },
}
SCSS
$custom: #340c24;
$custom-light: #6d4e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#340c24",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 36
  },
  "hsl": {
    "h": 324,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23318,
    "c": 0.07141,
    "h": 347.1
  },
  "luminance": 0.0112
}

Semantic roles & 50–950 ramp

primary
#340C24
secondary
#2C7047
accent
#E68442
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340C24

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

Preview Lab → · Contrast checker → · Palette generator →

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