#340305#340305

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

Color values

HEX#340305
RGBrgb(52, 3, 5)
HSLhsl(358, 89%, 11%)
HSVhsv(358, 94%, 20%)
CMYKcmyk(0%, 94.2%, 90.4%, 79.6%)
CIE-LABlab(7.28, 24.39, 9.39)
CIE-LCHlch(7.28, 26.14, 21.06°)
OKLaboklab(21% 0.0708 0.0323)
OKLCHoklch(21% 0.078 24.6)
XYZxyz(1.4763, 0.8064, 0.2215)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340305 #033432
analogous
#34031D #340305 #341903
triadic
#340305 #053403 #030534
tetradic
#340305 #1D3403 #033432 #190334
square
#340305 #1D3403 #033432 #190334
split-complementary
#340305 #033419 #031D34
monochromatic
#1D0203 #1D0203 #340305 #6E060B #A80A10

Accessibility & contrast

On white

18.08
#340305 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340305
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340305#FFFFFF#000000##FFFFFF
##3403051.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F05
Deuteranopia (green-blind)
#1E1A04
Tritanopia (blue-blind)
#3A0004
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #340305;
/* rgb */ color: rgb(52, 3, 5);
/* oklch */ color: oklch(21.0% 0.078 24.6);
Tailwind
colors: {
  custom: {
    50: '#704849',
    500: '#340305',
    950: '#000000',
  },
}
SCSS
$custom: #340305;
$custom-light: #704849;
$custom-dark: #000000;
JSON
{
  "hex": "#340305",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 5
  },
  "hsl": {
    "h": 357.551,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21004,
    "c": 0.07786,
    "h": 24.6
  },
  "luminance": 0.00806
}

Semantic roles & 50–950 ramp

primary
#340305
secondary
#1C7773
accent
#FFF629
background
#F7F4F4
surface
#EDE6E6
border
#C8C2C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340305

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

Preview Lab → · Contrast checker → · Palette generator →

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