#330408#330408

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

Color values

HEX#330408
RGBrgb(51, 4, 8)
HSLhsl(355, 85%, 11%)
HSVhsv(355, 92%, 20%)
CMYKcmyk(0%, 92.2%, 84.3%, 80%)
CIE-LABlab(7.30, 23.64, 8.17)
CIE-LCHlch(7.30, 25.01, 19.06°)
OKLaboklab(20.99% 0.0697 0.0272)
OKLCHoklch(20.99% 0.075 21.3)
XYZxyz(1.4527, 0.8084, 0.3092)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330408 #04332F
analogous
#33041F #330408 #331704
triadic
#330408 #083304 #040833
tetradic
#330408 #1F3304 #04332F #170433
square
#330408 #1F3304 #04332F #170433
split-complementary
#330408 #043317 #041F33
monochromatic
#1C0204 #1C0204 #330408 #6C0811 #A40D1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##330408#FFFFFF#000000##FFFFFF
##3304081.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)
#111008
Deuteranopia (green-blind)
#1E1A07
Tritanopia (blue-blind)
#390006
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #330408;
/* rgb */ color: rgb(51, 4, 8);
/* oklch */ color: oklch(21.0% 0.075 21.3);
Tailwind
colors: {
  custom: {
    50: '#6f484a',
    500: '#330408',
    950: '#000000',
  },
}
SCSS
$custom: #330408;
$custom-light: #6f484a;
$custom-dark: #000000;
JSON
{
  "hex": "#330408",
  "rgb": {
    "r": 51,
    "g": 4,
    "b": 8
  },
  "hsl": {
    "h": 354.894,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20994,
    "c": 0.07479,
    "h": 21.3
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#330408
secondary
#1D756E
accent
#FCEA2C
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #330408

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

Preview Lab → · Contrast checker → · Palette generator →

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