#340415#340415

#340415 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.6% C 0.077 H 4.7°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#340415
RGBrgb(52, 4, 21)
HSLhsl(339, 86%, 11%)
HSVhsv(339, 92%, 20%)
CMYKcmyk(0%, 92.3%, 59.6%, 79.6%)
CIE-LABlab(7.87, 25.12, 2.22)
CIE-LCHlch(7.87, 25.22, 5.05°)
OKLaboklab(21.58% 0.0769 0.0063)
OKLCHoklch(21.58% 0.077 4.7)
XYZxyz(1.5951, 0.8713, 0.7935)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340415 #043423
analogous
#34042D #340415 #340B04
triadic
#340415 #153404 #041534
tetradic
#340415 #2D3404 #043423 #0B0434
square
#340415 #2D3404 #043423 #0B0434
split-complementary
#340415 #04340B #042D34
monochromatic
#1C020B #1C020B #340415 #6D082C #A60D43

Accessibility & contrast

On white

17.88
#340415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#340415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340415
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340415#FFFFFF#000000##FFFFFF
##3404151.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1115
Deuteranopia (green-blind)
#1D1B14
Tritanopia (blue-blind)
#3A000B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340415;
/* rgb */ color: rgb(52, 4, 21);
/* oklch */ color: oklch(21.6% 0.077 4.7);
Tailwind
colors: {
  custom: {
    50: '#6f4952',
    500: '#340415',
    950: '#000000',
  },
}
SCSS
$custom: #340415;
$custom-light: #6f4952;
$custom-dark: #000000;
JSON
{
  "hex": "#340415",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 21
  },
  "hsl": {
    "h": 338.75,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21582,
    "c": 0.07719,
    "h": 4.7
  },
  "luminance": 0.00871
}

Semantic roles & 50–950 ramp

primary
#340415
secondary
#1E7657
accent
#FCB22C
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340415

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

Preview Lab → · Contrast checker → · Palette generator →

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