#340506#340506

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

Color values

HEX#340506
RGBrgb(52, 5, 6)
HSLhsl(359, 82%, 11%)
HSVhsv(359, 90%, 20%)
CMYKcmyk(0%, 90.4%, 88.5%, 79.6%)
CIE-LABlab(7.70, 23.38, 9.59)
CIE-LCHlch(7.70, 25.26, 22.30°)
OKLaboklab(21.33% 0.0677 0.0316)
OKLCHoklch(21.33% 0.075 25)
XYZxyz(1.5035, 0.8520, 0.2575)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340506 #053433
analogous
#34051D #340506 #341B05
triadic
#340506 #063405 #050634
tetradic
#340506 #1D3405 #053433 #1B0534
square
#340506 #1D3405 #053433 #1B0534
split-complementary
#340506 #05341B #051D34
monochromatic
#1C0303 #1C0303 #340506 #6C0A0C #A41013

Accessibility & contrast

On white

17.94
#340506 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340506
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340506#FFFFFF#000000##FFFFFF
##3405061.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340506;
/* rgb */ color: rgb(52, 5, 6);
/* oklch */ color: oklch(21.3% 0.075 25.0);
Tailwind
colors: {
  custom: {
    50: '#704949',
    500: '#340506',
    950: '#000000',
  },
}
SCSS
$custom: #340506;
$custom-light: #704949;
$custom-dark: #000000;
JSON
{
  "hex": "#340506",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 6
  },
  "hsl": {
    "h": 358.723,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2133,
    "c": 0.07476,
    "h": 25
  },
  "luminance": 0.00852
}

Semantic roles & 50–950 ramp

primary
#340506
secondary
#1F7574
accent
#F9F52F
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340506

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

Preview Lab → · Contrast checker → · Palette generator →

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