#340822#340822

#340822 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.7% C 0.077 H 348.6°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#340822
RGBrgb(52, 8, 34)
HSLhsl(325, 73%, 12%)
HSVhsv(325, 85%, 20%)
CMYKcmyk(0%, 84.6%, 34.6%, 79.6%)
CIE-LABlab(9.15, 24.66, -5.78)
CIE-LCHlch(9.15, 25.33, 346.81°)
OKLaboklab(22.7% 0.0751 -0.0152)
OKLCHoklch(22.7% 0.077 348.6)
XYZxyz(1.7918, 1.0194, 1.6155)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340822 #08341A
analogous
#300834 #340822 #34080C
triadic
#340822 #223408 #082234
tetradic
#340822 #343008 #08341A #080C34
square
#340822 #343008 #08341A #080C34
split-complementary
#340822 #0C3408 #083430
monochromatic
#1B0411 #1B0411 #340822 #691045 #9E1867

Accessibility & contrast

On white

17.44
#340822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340822
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340822#FFFFFF#000000##FFFFFF
##3408221.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1523
Deuteranopia (green-blind)
#1B1D21
Tritanopia (blue-blind)
#380613
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340822;
/* rgb */ color: rgb(52, 8, 34);
/* oklch */ color: oklch(22.7% 0.077 348.6);
Tailwind
colors: {
  custom: {
    50: '#6e4c5d',
    500: '#340822',
    950: '#000000',
  },
}
SCSS
$custom: #340822;
$custom-light: #6e4c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#340822",
  "rgb": {
    "r": 52,
    "g": 8,
    "b": 34
  },
  "hsl": {
    "h": 324.545,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22696,
    "c": 0.07662,
    "h": 348.6
  },
  "luminance": 0.01019
}

Semantic roles & 50–950 ramp

primary
#340822
secondary
#257345
accent
#F08338
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340822

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

Preview Lab → · Contrast checker → · Palette generator →

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