#340517#340517

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

Color values

HEX#340517
RGBrgb(52, 5, 23)
HSLhsl(337, 82%, 11%)
HSVhsv(337, 90%, 20%)
CMYKcmyk(0%, 90.4%, 55.8%, 79.6%)
CIE-LABlab(8.14, 24.78, 1.17)
CIE-LCHlch(8.14, 24.81, 2.71°)
OKLaboklab(21.8% 0.076 0.0033)
OKLCHoklch(21.8% 0.076 2.5)
XYZxyz(1.6252, 0.9007, 0.8987)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340517 #053422
analogous
#34052E #340517 #340A05
triadic
#340517 #173405 #051734
tetradic
#340517 #2E3405 #053422 #0A0534
square
#340517 #2E3405 #053422 #0A0534
split-complementary
#340517 #05340A #052E34
monochromatic
#1C030C #1C030C #340517 #6C0A30 #A41048

Accessibility & contrast

On white

17.80
#340517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340517
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340517#FFFFFF#000000##FFFFFF
##3405171.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340517;
/* rgb */ color: rgb(52, 5, 23);
/* oklch */ color: oklch(21.8% 0.076 2.5);
Tailwind
colors: {
  custom: {
    50: '#6f4a53',
    500: '#340517',
    950: '#000000',
  },
}
SCSS
$custom: #340517;
$custom-light: #6f4a53;
$custom-dark: #000000;
JSON
{
  "hex": "#340517",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 23
  },
  "hsl": {
    "h": 337.021,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.218,
    "c": 0.07609,
    "h": 2.5
  },
  "luminance": 0.009
}

Semantic roles & 50–950 ramp

primary
#340517
secondary
#1F7554
accent
#F9AC2F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340517

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

Preview Lab → · Contrast checker → · Palette generator →

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