#340A22#340A22

#340A22 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.0% C 0.073 H 349.2°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#340A22
RGBrgb(52, 10, 34)
HSLhsl(326, 68%, 12%)
HSVhsv(326, 81%, 20%)
CMYKcmyk(0%, 80.8%, 34.6%, 79.6%)
CIE-LABlab(9.50, 23.68, -5.25)
CIE-LCHlch(9.50, 24.25, 347.51°)
OKLaboklab(22.95% 0.072 -0.0137)
OKLCHoklch(22.95% 0.073 349.2)
XYZxyz(1.8135, 1.0628, 1.6227)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A22 #0A341C
analogous
#310A34 #340A22 #340A0D
triadic
#340A22 #22340A #0A2234
tetradic
#340A22 #34310A #0A341C #0A0D34
square
#340A22 #34310A #0A341C #0A0D34
split-complementary
#340A22 #0D340A #0A3431
monochromatic
#1A0511 #1A0511 #340A22 #671444 #9B1E65

Accessibility & contrast

On white

17.32
#340A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#340A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340A22
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A22#FFFFFF#000000##FFFFFF
##340A221.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101623
Deuteranopia (green-blind)
#1C1D21
Tritanopia (blue-blind)
#380814
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340a22;
/* rgb */ color: rgb(52, 10, 34);
/* oklch */ color: oklch(23.0% 0.073 349.2);
Tailwind
colors: {
  custom: {
    50: '#6e4d5d',
    500: '#340a22',
    950: '#000000',
  },
}
SCSS
$custom: #340a22;
$custom-light: #6e4d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#340a22",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 34
  },
  "hsl": {
    "h": 325.714,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22954,
    "c": 0.07333,
    "h": 349.2
  },
  "luminance": 0.01063
}

Semantic roles & 50–950 ramp

primary
#340A22
secondary
#287148
accent
#EB883D
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340A22

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

Preview Lab → · Contrast checker → · Palette generator →

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