#340307#340307

#340307 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.0% C 0.078 H 21.9°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#340307
RGBrgb(52, 3, 7)
HSLhsl(355, 89%, 11%)
HSVhsv(355, 94%, 20%)
CMYKcmyk(0%, 94.2%, 86.5%, 79.6%)
CIE-LABlab(7.32, 24.53, 8.63)
CIE-LCHlch(7.32, 26.00, 19.39°)
OKLaboklab(21.05% 0.072 0.029)
OKLCHoklch(21.05% 0.078 21.9)
XYZxyz(1.4873, 0.8108, 0.2792)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340307 #033430
analogous
#34031F #340307 #341703
triadic
#340307 #073403 #030734
tetradic
#340307 #1F3403 #033430 #170334
square
#340307 #1F3403 #033430 #170334
split-complementary
#340307 #033417 #031F34
monochromatic
#1D0204 #1D0204 #340307 #6E060F #A80A17

Accessibility & contrast

On white

18.07
#340307 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340307
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340307#FFFFFF#000000##FFFFFF
##3403071.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340307;
/* rgb */ color: rgb(52, 3, 7);
/* oklch */ color: oklch(21.0% 0.078 21.9);
Tailwind
colors: {
  custom: {
    50: '#70484a',
    500: '#340307',
    950: '#000000',
  },
}
SCSS
$custom: #340307;
$custom-light: #70484a;
$custom-dark: #000000;
JSON
{
  "hex": "#340307",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 7
  },
  "hsl": {
    "h": 355.102,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21048,
    "c": 0.07759,
    "h": 21.9
  },
  "luminance": 0.00811
}

Semantic roles & 50–950 ramp

primary
#340307
secondary
#1C7770
accent
#FFEE29
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340307

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

Preview Lab → · Contrast checker → · Palette generator →

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