#340C22#340C22

#340C22 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.2% C 0.070 H 349.9°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#340C22
RGBrgb(52, 12, 34)
HSLhsl(327, 63%, 13%)
HSVhsv(327, 77%, 20%)
CMYKcmyk(0%, 76.9%, 34.6%, 79.6%)
CIE-LABlab(9.87, 22.68, -4.70)
CIE-LCHlch(9.87, 23.16, 348.30°)
OKLaboklab(23.22% 0.0689 -0.0122)
OKLCHoklch(23.22% 0.07 349.9)
XYZxyz(1.8365, 1.1087, 1.6303)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C22 #0C341E
analogous
#320C34 #340C22 #340C0E
triadic
#340C22 #22340C #0C2234
tetradic
#340C22 #34320C #0C341E #0C0E34
square
#340C22 #34320C #0C341E #0C0E34
split-complementary
#340C22 #0E340C #0C3432
monochromatic
#190610 #190610 #340C22 #661743 #972363

Accessibility & contrast

On white

17.19
#340C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340C22
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C22#FFFFFF#000000##FFFFFF
##340C221.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111723
Deuteranopia (green-blind)
#1D1E21
Tritanopia (blue-blind)
#380A15
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340c22;
/* rgb */ color: rgb(52, 12, 34);
/* oklch */ color: oklch(23.2% 0.070 349.9);
Tailwind
colors: {
  custom: {
    50: '#6e4e5d',
    500: '#340c22',
    950: '#000000',
  },
}
SCSS
$custom: #340c22;
$custom-light: #6e4e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#340c22",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 34
  },
  "hsl": {
    "h": 327,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2322,
    "c": 0.07002,
    "h": 349.9
  },
  "luminance": 0.01109
}

Semantic roles & 50–950 ramp

primary
#340C22
secondary
#2C704A
accent
#E68C42
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340C22

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

Preview Lab → · Contrast checker → · Palette generator →

#340C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva