#340516#340516

#340516 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.8% C 0.076 H 3.9°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#340516
RGBrgb(52, 5, 22)
HSLhsl(338, 82%, 11%)
HSVhsv(338, 90%, 20%)
CMYKcmyk(0%, 90.4%, 57.7%, 79.6%)
CIE-LABlab(8.10, 24.67, 1.85)
CIE-LCHlch(8.10, 24.74, 4.29°)
OKLaboklab(21.76% 0.0756 0.0052)
OKLCHoklch(21.76% 0.076 3.9)
XYZxyz(1.6154, 0.8968, 0.8469)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340516 #053423
analogous
#34052D #340516 #340B05
triadic
#340516 #163405 #051634
tetradic
#340516 #2D3405 #053423 #0B0534
square
#340516 #2D3405 #053423 #0B0534
split-complementary
#340516 #05340B #052D34
monochromatic
#1C030C #1C030C #340516 #6C0A2E #A41045

Accessibility & contrast

On white

17.81
#340516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#340516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340516
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340516#FFFFFF#000000##FFFFFF
##3405161.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101216
Deuteranopia (green-blind)
#1D1B15
Tritanopia (blue-blind)
#39000C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340516;
/* rgb */ color: rgb(52, 5, 22);
/* oklch */ color: oklch(21.8% 0.076 3.9);
Tailwind
colors: {
  custom: {
    50: '#6f4a52',
    500: '#340516',
    950: '#000000',
  },
}
SCSS
$custom: #340516;
$custom-light: #6f4a52;
$custom-dark: #000000;
JSON
{
  "hex": "#340516",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 22
  },
  "hsl": {
    "h": 338.298,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21763,
    "c": 0.07576,
    "h": 3.9
  },
  "luminance": 0.00897
}

Semantic roles & 50–950 ramp

primary
#340516
secondary
#1F7556
accent
#F9B02F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340516

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

Preview Lab → · Contrast checker → · Palette generator →

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