#330804#330804

#330804 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.5% C 0.070 H 30.7°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#330804
RGBrgb(51, 8, 4)
HSLhsl(5, 85%, 11%)
HSVhsv(5, 92%, 20%)
CMYKcmyk(0%, 84.3%, 92.2%, 80%)
CIE-LABlab(8.01, 21.21, 10.83)
CIE-LCHlch(8.01, 23.82, 27.04°)
OKLaboklab(21.51% 0.0603 0.0357)
OKLCHoklch(21.51% 0.07 30.7)
XYZxyz(1.4742, 0.8865, 0.2083)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330804 #042F33
analogous
#330417 #330804 #331F04
triadic
#330804 #043308 #080433
tetradic
#330804 #173304 #042F33 #1F0433
square
#330804 #173304 #042F33 #1F0433
split-complementary
#330804 #04331F #041733
monochromatic
#1C0402 #1C0402 #330804 #6C1108 #A41A0D

Accessibility & contrast

On white

17.84
#330804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#330804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330804
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330804#FFFFFF#000000##FFFFFF
##3308041.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151103
Deuteranopia (green-blind)
#1F1B03
Tritanopia (blue-blind)
#390007
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #330804;
/* rgb */ color: rgb(51, 8, 4);
/* oklch */ color: oklch(21.5% 0.070 30.7);
Tailwind
colors: {
  custom: {
    50: '#6e4b48',
    500: '#330804',
    950: '#000000',
  },
}
SCSS
$custom: #330804;
$custom-light: #6e4b48;
$custom-dark: #000000;
JSON
{
  "hex": "#330804",
  "rgb": {
    "r": 51,
    "g": 8,
    "b": 4
  },
  "hsl": {
    "h": 5.106,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21509,
    "c": 0.07006,
    "h": 30.7
  },
  "luminance": 0.00886
}

Semantic roles & 50–950 ramp

primary
#330804
secondary
#1D6E75
accent
#EAFC2C
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #330804

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

Preview Lab → · Contrast checker → · Palette generator →

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