#340424#340424

#340424 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.3% C 0.085 H 345.0°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#340424
RGBrgb(52, 4, 36)
HSLhsl(320, 86%, 11%)
HSVhsv(320, 92%, 20%)
CMYKcmyk(0%, 92.3%, 30.8%, 79.6%)
CIE-LABlab(8.52, 27.04, -8.27)
CIE-LCHlch(8.52, 28.28, 343.00°)
OKLaboklab(22.27% 0.0821 -0.022)
OKLCHoklch(22.27% 0.085 345)
XYZxyz(1.7781, 0.9445, 1.7574)
Luminance0.0094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340424 #043414
analogous
#2C0434 #340424 #34040C
triadic
#340424 #243404 #042434
tetradic
#340424 #342C04 #043414 #040C34
square
#340424 #342C04 #043414 #040C34
split-complementary
#340424 #0C3404 #04342C
monochromatic
#1C0214 #1C0214 #340424 #6D084B #A60D73

Accessibility & contrast

On white

17.66
#340424 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#340424 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340424
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340424#FFFFFF#000000##FFFFFF
##3404241.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1325
Deuteranopia (green-blind)
#191B23
Tritanopia (blue-blind)
#380313
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340424;
/* rgb */ color: rgb(52, 4, 36);
/* oklch */ color: oklch(22.3% 0.085 345.0);
Tailwind
colors: {
  custom: {
    50: '#6e4a5e',
    500: '#340424',
    950: '#000000',
  },
}
SCSS
$custom: #340424;
$custom-light: #6e4a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#340424",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 36
  },
  "hsl": {
    "h": 320,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22269,
    "c": 0.085,
    "h": 345
  },
  "luminance": 0.00944
}

Semantic roles & 50–950 ramp

primary
#340424
secondary
#1E763B
accent
#FC712C
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340424

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

Preview Lab → · Contrast checker → · Palette generator →

#340424 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva