#340B20#340B20

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

Color values

HEX#340B20
RGBrgb(52, 11, 32)
HSLhsl(329, 65%, 12%)
HSVhsv(329, 79%, 20%)
CMYKcmyk(0%, 78.8%, 38.5%, 79.6%)
CIE-LABlab(9.59, 22.88, -3.59)
CIE-LCHlch(9.59, 23.16, 351.07°)
OKLaboklab(22.99% 0.0698 -0.0092)
OKLCHoklch(22.99% 0.07 352.5)
XYZxyz(1.7967, 1.0739, 1.4789)
Luminance0.0107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B20 #0B341F
analogous
#330B34 #340B20 #340B0C
triadic
#340B20 #20340B #0B2034
tetradic
#340B20 #34330B #0B341F #0B0C34
square
#340B20 #34330B #0B341F #0B0C34
split-complementary
#340B20 #0C340B #0B3433
monochromatic
#190510 #190510 #340B20 #67163F #99205E

Accessibility & contrast

On white

17.29
#340B20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B20
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B20#FFFFFF#000000##FFFFFF
##340B201.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111621
Deuteranopia (green-blind)
#1D1D1F
Tritanopia (blue-blind)
#390814
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340b20;
/* rgb */ color: rgb(52, 11, 32);
/* oklch */ color: oklch(23.0% 0.070 352.5);
Tailwind
colors: {
  custom: {
    50: '#6e4d5b',
    500: '#340b20',
    950: '#000000',
  },
}
SCSS
$custom: #340b20;
$custom-light: #6e4d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#340b20",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 32
  },
  "hsl": {
    "h": 329.268,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22989,
    "c": 0.07044,
    "h": 352.5
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#340B20
secondary
#2A714D
accent
#E89240
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340B20

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

Preview Lab → · Contrast checker → · Palette generator →

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