#340309#340309

#340309 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.1% C 0.077 H 19.4°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#340309
RGBrgb(52, 3, 9)
HSLhsl(353, 89%, 11%)
HSVhsv(353, 94%, 20%)
CMYKcmyk(0%, 94.2%, 82.7%, 79.6%)
CIE-LABlab(7.36, 24.66, 7.88)
CIE-LCHlch(7.36, 25.89, 17.72°)
OKLaboklab(21.09% 0.073 0.0258)
OKLCHoklch(21.09% 0.077 19.4)
XYZxyz(1.4982, 0.8152, 0.3368)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340309 #03342E
analogous
#340321 #340309 #341503
triadic
#340309 #093403 #030934
tetradic
#340309 #213403 #03342E #150334
square
#340309 #213403 #03342E #150334
split-complementary
#340309 #033415 #032134
monochromatic
#1D0205 #1D0205 #340309 #6E0613 #A80A1D

Accessibility & contrast

On white

18.06
#340309 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#340309 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340309
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340309#FFFFFF#000000##FFFFFF
##3403091.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110F09
Deuteranopia (green-blind)
#1E1A08
Tritanopia (blue-blind)
#3A0005
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #340309;
/* rgb */ color: rgb(52, 3, 9);
/* oklch */ color: oklch(21.1% 0.077 19.4);
Tailwind
colors: {
  custom: {
    50: '#70484b',
    500: '#340309',
    950: '#000000',
  },
}
SCSS
$custom: #340309;
$custom-light: #70484b;
$custom-dark: #000000;
JSON
{
  "hex": "#340309",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 9
  },
  "hsl": {
    "h": 352.653,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21093,
    "c": 0.07745,
    "h": 19.4
  },
  "luminance": 0.00815
}

Semantic roles & 50–950 ramp

primary
#340309
secondary
#1C776C
accent
#FFE529
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340309

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

Preview Lab → · Contrast checker → · Palette generator →

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