#340505#340505

#340505 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.3% C 0.075 H 26.4°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#340505
RGBrgb(52, 5, 5)
HSLhsl(0, 82%, 11%)
HSVhsv(0, 90%, 20%)
CMYKcmyk(0%, 90.4%, 90.4%, 79.6%)
CIE-LABlab(7.68, 23.31, 9.96)
CIE-LCHlch(7.68, 25.35, 23.15°)
OKLaboklab(21.31% 0.0672 0.0333)
OKLCHoklch(21.31% 0.075 26.4)
XYZxyz(1.4980, 0.8498, 0.2287)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340505 #053434
analogous
#34051C #340505 #341C05
triadic
#340505 #053405 #050534
tetradic
#340505 #1C3405 #053434 #1C0534
square
#340505 #1C3405 #053434 #1C0534
split-complementary
#340505 #05341C #051C34
monochromatic
#1C0303 #1C0303 #340505 #6C0A0A #A41010

Accessibility & contrast

On white

17.95
#340505 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340505
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340505#FFFFFF#000000##FFFFFF
##3405051.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131005
Deuteranopia (green-blind)
#1F1B04
Tritanopia (blue-blind)
#3A0006
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340505;
/* rgb */ color: rgb(52, 5, 5);
/* oklch */ color: oklch(21.3% 0.075 26.4);
Tailwind
colors: {
  custom: {
    50: '#704949',
    500: '#340505',
    950: '#000000',
  },
}
SCSS
$custom: #340505;
$custom-light: #704949;
$custom-dark: #000000;
JSON
{
  "hex": "#340505",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 5
  },
  "hsl": {
    "h": 0,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21308,
    "c": 0.07495,
    "h": 26.4
  },
  "luminance": 0.0085
}

Semantic roles & 50–950 ramp

primary
#340505
secondary
#1F7575
accent
#F9F92F
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340505

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

Preview Lab → · Contrast checker → · Palette generator →

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