#340324#340324

#340324 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.1% C 0.087 H 344.8°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#340324
RGBrgb(52, 3, 36)
HSLhsl(320, 89%, 11%)
HSVhsv(320, 94%, 20%)
CMYKcmyk(0%, 94.2%, 30.8%, 79.6%)
CIE-LABlab(8.33, 27.59, -8.56)
CIE-LCHlch(8.33, 28.88, 342.76°)
OKLaboklab(22.13% 0.0838 -0.0228)
OKLCHoklch(22.13% 0.087 344.8)
XYZxyz(1.7673, 0.9228, 1.7538)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340324 #033413
analogous
#2B0334 #340324 #34030B
triadic
#340324 #243403 #032434
tetradic
#340324 #342B03 #033413 #030B34
square
#340324 #342B03 #033413 #030B34
split-complementary
#340324 #0B3403 #03342B
monochromatic
#1D0214 #1D0214 #340324 #6E064C #A80A74

Accessibility & contrast

On white

17.73
#340324 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#340324 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340324
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340324#FFFFFF#000000##FFFFFF
##3403241.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081325
Deuteranopia (green-blind)
#181B23
Tritanopia (blue-blind)
#380312
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340324;
/* rgb */ color: rgb(52, 3, 36);
/* oklch */ color: oklch(22.1% 0.087 344.8);
Tailwind
colors: {
  custom: {
    50: '#6e495e',
    500: '#340324',
    950: '#000000',
  },
}
SCSS
$custom: #340324;
$custom-light: #6e495e;
$custom-dark: #000000;
JSON
{
  "hex": "#340324",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 36
  },
  "hsl": {
    "h": 319.592,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22132,
    "c": 0.08685,
    "h": 344.8
  },
  "luminance": 0.00923
}

Semantic roles & 50–950 ramp

primary
#340324
secondary
#1C773A
accent
#FF6F29
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340324

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

Preview Lab → · Contrast checker → · Palette generator →

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