#340308#340308

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

Color values

HEX#340308
RGBrgb(52, 3, 8)
HSLhsl(354, 89%, 11%)
HSVhsv(354, 94%, 20%)
CMYKcmyk(0%, 94.2%, 84.6%, 79.6%)
CIE-LABlab(7.34, 24.59, 8.26)
CIE-LCHlch(7.34, 25.94, 18.56°)
OKLaboklab(21.07% 0.0725 0.0273)
OKLCHoklch(21.07% 0.078 20.7)
XYZxyz(1.4927, 0.8130, 0.3080)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340308 #03342F
analogous
#340320 #340308 #341603
triadic
#340308 #083403 #030834
tetradic
#340308 #203403 #03342F #160334
square
#340308 #203403 #03342F #160334
split-complementary
#340308 #033416 #032034
monochromatic
#1D0204 #1D0204 #340308 #6E0611 #A80A1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##340308#FFFFFF#000000##FFFFFF
##3403081.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)
#110F08
Deuteranopia (green-blind)
#1E1A07
Tritanopia (blue-blind)
#3A0005
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #340308;
/* rgb */ color: rgb(52, 3, 8);
/* oklch */ color: oklch(21.1% 0.077 20.7);
Tailwind
colors: {
  custom: {
    50: '#70484a',
    500: '#340308',
    950: '#000000',
  },
}
SCSS
$custom: #340308;
$custom-light: #70484a;
$custom-dark: #000000;
JSON
{
  "hex": "#340308",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 8
  },
  "hsl": {
    "h": 353.878,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.2107,
    "c": 0.0775,
    "h": 20.7
  },
  "luminance": 0.00813
}

Semantic roles & 50–950 ramp

primary
#340308
secondary
#1C776E
accent
#FFE929
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340308

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

Preview Lab → · Contrast checker → · Palette generator →

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