#340306#340306

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

Color values

HEX#340306
RGBrgb(52, 3, 6)
HSLhsl(356, 89%, 11%)
HSVhsv(356, 94%, 20%)
CMYKcmyk(0%, 94.2%, 88.5%, 79.6%)
CIE-LABlab(7.30, 24.46, 9.01)
CIE-LCHlch(7.30, 26.07, 20.23°)
OKLaboklab(21.03% 0.0714 0.0306)
OKLCHoklch(21.03% 0.078 23.2)
XYZxyz(1.4818, 0.8086, 0.2503)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340306 #033431
analogous
#34031E #340306 #341803
triadic
#340306 #063403 #030634
tetradic
#340306 #1E3403 #033431 #180334
square
#340306 #1E3403 #033431 #180334
split-complementary
#340306 #033418 #031E34
monochromatic
#1D0203 #1D0203 #340306 #6E060D #A80A13

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##340306#FFFFFF#000000##FFFFFF
##3403061.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)
#110F06
Deuteranopia (green-blind)
#1E1A05
Tritanopia (blue-blind)
#3A0004
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #340306;
/* rgb */ color: rgb(52, 3, 6);
/* oklch */ color: oklch(21.0% 0.078 23.2);
Tailwind
colors: {
  custom: {
    50: '#704849',
    500: '#340306',
    950: '#000000',
  },
}
SCSS
$custom: #340306;
$custom-light: #704849;
$custom-dark: #000000;
JSON
{
  "hex": "#340306",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 6
  },
  "hsl": {
    "h": 356.327,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21026,
    "c": 0.07771,
    "h": 23.2
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#340306
secondary
#1C7772
accent
#FFF229
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340306

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

Preview Lab → · Contrast checker → · Palette generator →

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