#340507#340507

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

Color values

HEX#340507
RGBrgb(52, 5, 7)
HSLhsl(357, 82%, 11%)
HSVhsv(357, 90%, 20%)
CMYKcmyk(0%, 90.4%, 86.5%, 79.6%)
CIE-LABlab(7.72, 23.44, 9.21)
CIE-LCHlch(7.72, 25.19, 21.44°)
OKLaboklab(21.35% 0.0683 0.03)
OKLCHoklch(21.35% 0.075 23.7)
XYZxyz(1.5090, 0.8542, 0.2864)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340507 #053432
analogous
#34051E #340507 #341A05
triadic
#340507 #073405 #050734
tetradic
#340507 #1E3405 #053432 #1A0534
square
#340507 #1E3405 #053432 #1A0534
split-complementary
#340507 #05341A #051E34
monochromatic
#1C0304 #1C0304 #340507 #6C0A0F #A41016

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##340507#FFFFFF#000000##FFFFFF
##3405071.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)
#131007
Deuteranopia (green-blind)
#1F1B06
Tritanopia (blue-blind)
#3A0006
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340507;
/* rgb */ color: rgb(52, 5, 7);
/* oklch */ color: oklch(21.4% 0.075 23.7);
Tailwind
colors: {
  custom: {
    50: '#70494a',
    500: '#340507',
    950: '#000000',
  },
}
SCSS
$custom: #340507;
$custom-light: #70494a;
$custom-dark: #000000;
JSON
{
  "hex": "#340507",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 7
  },
  "hsl": {
    "h": 357.447,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21351,
    "c": 0.07459,
    "h": 23.7
  },
  "luminance": 0.00854
}

Semantic roles & 50–950 ramp

primary
#340507
secondary
#1F7572
accent
#F9F02F
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340507

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

Preview Lab → · Contrast checker → · Palette generator →

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