#340420#340420

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

Color values

HEX#340420
RGBrgb(52, 4, 32)
HSLhsl(325, 86%, 11%)
HSVhsv(325, 92%, 20%)
CMYKcmyk(0%, 92.3%, 38.5%, 79.6%)
CIE-LABlab(8.32, 26.46, -5.52)
CIE-LCHlch(8.32, 27.03, 348.23°)
OKLaboklab(22.06% 0.0811 -0.0144)
OKLCHoklch(22.06% 0.082 349.9)
XYZxyz(1.7204, 0.9214, 1.4535)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340420 #043418
analogous
#300434 #340420 #340408
triadic
#340420 #203404 #042034
tetradic
#340420 #343004 #043418 #040834
square
#340420 #343004 #043418 #040834
split-complementary
#340420 #083404 #043430
monochromatic
#1C0211 #1C0211 #340420 #6D0843 #A60D66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##340420#FFFFFF#000000##FFFFFF
##3404201.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)
#0C1321
Deuteranopia (green-blind)
#1A1B1F
Tritanopia (blue-blind)
#390211
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340420;
/* rgb */ color: rgb(52, 4, 32);
/* oklch */ color: oklch(22.1% 0.082 349.9);
Tailwind
colors: {
  custom: {
    50: '#6e495b',
    500: '#340420',
    950: '#000000',
  },
}
SCSS
$custom: #340420;
$custom-light: #6e495b;
$custom-dark: #000000;
JSON
{
  "hex": "#340420",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 32
  },
  "hsl": {
    "h": 325,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22057,
    "c": 0.08235,
    "h": 349.9
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#340420
secondary
#1E7643
accent
#FC832C
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340420

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

Preview Lab → · Contrast checker → · Palette generator →

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