#340422#340422

#340422 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.2% C 0.084 H 347.4°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#340422
RGBrgb(52, 4, 34)
HSLhsl(323, 86%, 11%)
HSVhsv(323, 92%, 20%)
CMYKcmyk(0%, 92.3%, 34.6%, 79.6%)
CIE-LABlab(8.42, 26.74, -6.90)
CIE-LCHlch(8.42, 27.62, 345.53°)
OKLaboklab(22.16% 0.0816 -0.0182)
OKLCHoklch(22.16% 0.084 347.4)
XYZxyz(1.7484, 0.9326, 1.6010)
Luminance0.0093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340422 #043416
analogous
#2E0434 #340422 #34040A
triadic
#340422 #223404 #042234
tetradic
#340422 #342E04 #043416 #040A34
square
#340422 #342E04 #043416 #040A34
split-complementary
#340422 #0A3404 #04342E
monochromatic
#1C0213 #1C0213 #340422 #6D0847 #A60D6C

Accessibility & contrast

On white

17.70
#340422 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340422
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340422#FFFFFF#000000##FFFFFF
##3404221.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340422;
/* rgb */ color: rgb(52, 4, 34);
/* oklch */ color: oklch(22.2% 0.084 347.4);
Tailwind
colors: {
  custom: {
    50: '#6e4a5d',
    500: '#340422',
    950: '#000000',
  },
}
SCSS
$custom: #340422;
$custom-light: #6e4a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#340422",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 34
  },
  "hsl": {
    "h": 322.5,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2216,
    "c": 0.08364,
    "h": 347.4
  },
  "luminance": 0.00932
}

Semantic roles & 50–950 ramp

primary
#340422
secondary
#1E763F
accent
#FC7A2C
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340422

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

Preview Lab → · Contrast checker → · Palette generator →

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