#340820#340820

#340820 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.6% C 0.075 H 351.3°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#340820
RGBrgb(52, 8, 32)
HSLhsl(327, 73%, 12%)
HSVhsv(327, 85%, 20%)
CMYKcmyk(0%, 84.6%, 38.5%, 79.6%)
CIE-LABlab(9.06, 24.36, -4.39)
CIE-LCHlch(9.06, 24.75, 349.77°)
OKLaboklab(22.6% 0.0745 -0.0114)
OKLCHoklch(22.6% 0.075 351.3)
XYZxyz(1.7638, 1.0082, 1.4679)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340820 #08341C
analogous
#320834 #340820 #34080A
triadic
#340820 #203408 #082034
tetradic
#340820 #343208 #08341C #080A34
square
#340820 #343208 #08341C #080A34
split-complementary
#340820 #0A3408 #083432
monochromatic
#1B0410 #1B0410 #340820 #691041 #9E1861

Accessibility & contrast

On white

17.48
#340820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#340820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340820
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340820#FFFFFF#000000##FFFFFF
##3408201.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1521
Deuteranopia (green-blind)
#1C1C1F
Tritanopia (blue-blind)
#390612
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340820;
/* rgb */ color: rgb(52, 8, 32);
/* oklch */ color: oklch(22.6% 0.075 351.3);
Tailwind
colors: {
  custom: {
    50: '#6e4c5b',
    500: '#340820',
    950: '#000000',
  },
}
SCSS
$custom: #340820;
$custom-light: #6e4c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#340820",
  "rgb": {
    "r": 52,
    "g": 8,
    "b": 32
  },
  "hsl": {
    "h": 327.273,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22598,
    "c": 0.07534,
    "h": 351.3
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#340820
secondary
#257348
accent
#F08C38
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340820

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

Preview Lab → · Contrast checker → · Palette generator →

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