#340F15#340F15

#340F15 is a very dark, muted red. Relative luminance 0.011; OKLCH L 23.2% C 0.060 H 13.2°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#340F15
RGBrgb(52, 15, 21)
HSLhsl(350, 55%, 13%)
HSVhsv(350, 71%, 20%)
CMYKcmyk(0%, 71.2%, 59.6%, 79.6%)
CIE-LABlab(10.00, 19.26, 5.28)
CIE-LCHlch(10.00, 19.97, 15.34°)
OKLaboklab(23.16% 0.0582 0.0137)
OKLCHoklch(23.16% 0.06 13.2)
XYZxyz(1.7225, 1.1261, 0.8360)
Luminance0.0113 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F15 #0F342E
analogous
#340F27 #340F15 #341B0F
triadic
#340F15 #15340F #0F1534
tetradic
#340F15 #27340F #0F342E #1B0F34
square
#340F15 #27340F #0F342E #1B0F34
split-complementary
#340F15 #0F341B #0F2734
monochromatic
#18070A #18070A #340F15 #631D28 #932A3B

Accessibility & contrast

On white

17.14
#340F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#340F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340F15
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F15#FFFFFF#000000##FFFFFF
##340F151.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171715
Deuteranopia (green-blind)
#211E14
Tritanopia (blue-blind)
#390911
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340f15;
/* rgb */ color: rgb(52, 15, 21);
/* oklch */ color: oklch(23.2% 0.060 13.2);
Tailwind
colors: {
  custom: {
    50: '#6e4f52',
    500: '#340f15',
    950: '#000000',
  },
}
SCSS
$custom: #340f15;
$custom-light: #6e4f52;
$custom-dark: #000000;
JSON
{
  "hex": "#340f15",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 21
  },
  "hsl": {
    "h": 350.27,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23164,
    "c": 0.05977,
    "h": 13.2
  },
  "luminance": 0.01126
}

Semantic roles & 50–950 ramp

primary
#340F15
secondary
#316E64
accent
#DFC649
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070202
muted
#7A7878

Preview Lab

Preview with #340F15

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

Preview Lab → · Contrast checker → · Palette generator →

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