#340509#340509

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

Color values

HEX#340509
RGBrgb(52, 5, 9)
HSLhsl(355, 82%, 11%)
HSVhsv(355, 90%, 20%)
CMYKcmyk(0%, 90.4%, 82.7%, 79.6%)
CIE-LABlab(7.76, 23.57, 8.45)
CIE-LCHlch(7.76, 25.04, 19.72°)
OKLaboklab(21.39% 0.0693 0.0269)
OKLCHoklch(21.39% 0.074 21.2)
XYZxyz(1.5199, 0.8586, 0.3441)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340509 #053430
analogous
#340520 #340509 #341805
triadic
#340509 #093405 #050934
tetradic
#340509 #203405 #053430 #180534
square
#340509 #203405 #053430 #180534
split-complementary
#340509 #053418 #052034
monochromatic
#1C0305 #1C0305 #340509 #6C0A13 #A4101C

Accessibility & contrast

On white

17.92
#340509 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340509
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340509#FFFFFF#000000##FFFFFF
##3405091.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121109
Deuteranopia (green-blind)
#1E1B08
Tritanopia (blue-blind)
#3A0007
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340509;
/* rgb */ color: rgb(52, 5, 9);
/* oklch */ color: oklch(21.4% 0.074 21.2);
Tailwind
colors: {
  custom: {
    50: '#70494b',
    500: '#340509',
    950: '#000000',
  },
}
SCSS
$custom: #340509;
$custom-light: #70494b;
$custom-dark: #000000;
JSON
{
  "hex": "#340509",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 9
  },
  "hsl": {
    "h": 354.894,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21394,
    "c": 0.07436,
    "h": 21.2
  },
  "luminance": 0.00858
}

Semantic roles & 50–950 ramp

primary
#340509
secondary
#1F756E
accent
#F9E82F
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340509

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

Preview Lab → · Contrast checker → · Palette generator →

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