#340722#340722

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

Color values

HEX#340722
RGBrgb(52, 7, 34)
HSLhsl(324, 76%, 12%)
HSVhsv(324, 87%, 20%)
CMYKcmyk(0%, 86.5%, 34.6%, 79.6%)
CIE-LABlab(8.97, 25.17, -6.05)
CIE-LCHlch(8.97, 25.88, 346.48°)
OKLaboklab(22.56% 0.0767 -0.0159)
OKLCHoklch(22.56% 0.078 348.3)
XYZxyz(1.7810, 0.9977, 1.6119)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340722 #073419
analogous
#300734 #340722 #34070C
triadic
#340722 #223407 #072234
tetradic
#340722 #343007 #073419 #070C34
square
#340722 #343007 #073419 #070C34
split-complementary
#340722 #0C3407 #073430
monochromatic
#1B0412 #1B0412 #340722 #6A0E45 #A01669

Accessibility & contrast

On white

17.51
#340722 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340722
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340722#FFFFFF#000000##FFFFFF
##3407221.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1423
Deuteranopia (green-blind)
#1B1C21
Tritanopia (blue-blind)
#380513
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340722;
/* rgb */ color: rgb(52, 7, 34);
/* oklch */ color: oklch(22.6% 0.078 348.3);
Tailwind
colors: {
  custom: {
    50: '#6e4b5d',
    500: '#340722',
    950: '#000000',
  },
}
SCSS
$custom: #340722;
$custom-light: #6e4b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#340722",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 34
  },
  "hsl": {
    "h": 324,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22564,
    "c": 0.07831,
    "h": 348.3
  },
  "luminance": 0.00998
}

Semantic roles & 50–950 ramp

primary
#340722
secondary
#237443
accent
#F38135
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340722

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

Preview Lab → · Contrast checker → · Palette generator →

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