#340F20#340F20

#340F20 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.6% C 0.063 H 354.5°. Best body text is #FFFFFF at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#340F20
RGBrgb(52, 15, 32)
HSLhsl(332, 55%, 13%)
HSVhsv(332, 71%, 20%)
CMYKcmyk(0%, 71.2%, 38.5%, 79.6%)
CIE-LABlab(10.38, 20.73, -2.42)
CIE-LCHlch(10.38, 20.88, 353.35°)
OKLaboklab(23.57% 0.0632 -0.0061)
OKLCHoklch(23.57% 0.063 354.5)
XYZxyz(1.8478, 1.1762, 1.4959)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F20 #0F3423
analogous
#340F32 #340F20 #34100F
triadic
#340F20 #20340F #0F2034
tetradic
#340F20 #32340F #0F3423 #100F34
square
#340F20 #32340F #0F3423 #100F34
split-complementary
#340F20 #0F3410 #0F3234
monochromatic
#18070F #18070F #340F20 #631D3D #932A5A

Accessibility & contrast

On white

17.00
#340F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#340F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340F20
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F20#FFFFFF#000000##FFFFFF
##340F201.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151821
Deuteranopia (green-blind)
#1F1F1F
Tritanopia (blue-blind)
#380D16
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340f20;
/* rgb */ color: rgb(52, 15, 32);
/* oklch */ color: oklch(23.6% 0.063 354.5);
Tailwind
colors: {
  custom: {
    50: '#6d4f5b',
    500: '#340f20',
    950: '#000000',
  },
}
SCSS
$custom: #340f20;
$custom-light: #6d4f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#340f20",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 32
  },
  "hsl": {
    "h": 332.432,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23572,
    "c": 0.06345,
    "h": 354.5
  },
  "luminance": 0.01176
}

Semantic roles & 50–950 ramp

primary
#340F20
secondary
#316E52
accent
#DF9A49
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340F20

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

Preview Lab → · Contrast checker → · Palette generator →

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