#340322#340322

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

Color values

HEX#340322
RGBrgb(52, 3, 34)
HSLhsl(322, 89%, 11%)
HSVhsv(322, 94%, 20%)
CMYKcmyk(0%, 94.2%, 34.6%, 79.6%)
CIE-LABlab(8.23, 27.29, -7.19)
CIE-LCHlch(8.23, 28.23, 345.24°)
OKLaboklab(22.02% 0.0833 -0.019)
OKLCHoklch(22.02% 0.085 347.2)
XYZxyz(1.7376, 0.9109, 1.5974)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340322 #033415
analogous
#2D0334 #340322 #340309
triadic
#340322 #223403 #032234
tetradic
#340322 #342D03 #033415 #030934
square
#340322 #342D03 #033415 #030934
split-complementary
#340322 #093403 #03342D
monochromatic
#1D0213 #1D0213 #340322 #6E0648 #A80A6E

Accessibility & contrast

On white

17.76
#340322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340322
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340322#FFFFFF#000000##FFFFFF
##3403221.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1223
Deuteranopia (green-blind)
#191B21
Tritanopia (blue-blind)
#380211
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340322;
/* rgb */ color: rgb(52, 3, 34);
/* oklch */ color: oklch(22.0% 0.085 347.2);
Tailwind
colors: {
  custom: {
    50: '#6e495d',
    500: '#340322',
    950: '#000000',
  },
}
SCSS
$custom: #340322;
$custom-light: #6e495d;
$custom-dark: #000000;
JSON
{
  "hex": "#340322",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 34
  },
  "hsl": {
    "h": 322.041,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22022,
    "c": 0.08549,
    "h": 347.2
  },
  "luminance": 0.00911
}

Semantic roles & 50–950 ramp

primary
#340322
secondary
#1C773D
accent
#FF7729
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340322

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

Preview Lab → · Contrast checker → · Palette generator →

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