#340F0F#340F0F

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

Color values

HEX#340F0F
RGBrgb(52, 15, 15)
HSLhsl(0, 55%, 13%)
HSVhsv(0, 71%, 20%)
CMYKcmyk(0%, 71.2%, 71.2%, 79.6%)
CIE-LABlab(9.85, 18.66, 8.72)
CIE-LCHlch(9.85, 20.60, 25.05°)
OKLaboklab(23% 0.0552 0.0235)
OKLCHoklch(23% 0.06 23)
XYZxyz(1.6734, 1.1064, 0.5773)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F0F #0F3434
analogous
#340F21 #340F0F #34210F
triadic
#340F0F #0F340F #0F0F34
tetradic
#340F0F #21340F #0F3434 #210F34
square
#340F0F #21340F #0F3434 #210F34
split-complementary
#340F0F #0F3421 #0F2134
monochromatic
#180707 #180707 #340F0F #631D1D #932A2A

Accessibility & contrast

On white

17.20
#340F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340F0F
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F0F#FFFFFF#000000##FFFFFF
##340F0F1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18160F
Deuteranopia (green-blind)
#221E0E
Tritanopia (blue-blind)
#3A080F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340f0f;
/* rgb */ color: rgb(52, 15, 15);
/* oklch */ color: oklch(23.0% 0.060 23.0);
Tailwind
colors: {
  custom: {
    50: '#6f4f4e',
    500: '#340f0f',
    950: '#000000',
  },
}
SCSS
$custom: #340f0f;
$custom-light: #6f4f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#340f0f",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 15
  },
  "hsl": {
    "h": 0,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23,
    "c": 0.05998,
    "h": 23
  },
  "luminance": 0.01106
}

Semantic roles & 50–950 ramp

primary
#340F0F
secondary
#316E6E
accent
#DFDF49
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080201
muted
#7B7877

Preview Lab

Preview with #340F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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