#330404#330404

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

Color values

HEX#330404
RGBrgb(51, 4, 4)
HSLhsl(0, 85%, 11%)
HSVhsv(0, 92%, 20%)
CMYKcmyk(0%, 92.2%, 92.2%, 80%)
CIE-LABlab(7.22, 23.36, 9.68)
CIE-LCHlch(7.22, 25.28, 22.51°)
OKLaboklab(20.9% 0.0673 0.034)
OKLCHoklch(20.9% 0.075 26.8)
XYZxyz(1.4307, 0.7996, 0.1939)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330404 #043333
analogous
#33041B #330404 #331B04
triadic
#330404 #043304 #040433
tetradic
#330404 #1B3304 #043333 #1B0433
square
#330404 #1B3304 #043333 #1B0433
split-complementary
#330404 #04331B #041B33
monochromatic
#1C0202 #1C0202 #330404 #6C0808 #A40D0D

Accessibility & contrast

On white

18.11
#330404 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330404
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330404#FFFFFF#000000##FFFFFF
##3304041.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F04
Deuteranopia (green-blind)
#1E1A03
Tritanopia (blue-blind)
#390004
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #330404;
/* rgb */ color: rgb(51, 4, 4);
/* oklch */ color: oklch(20.9% 0.075 26.8);
Tailwind
colors: {
  custom: {
    50: '#6f4848',
    500: '#330404',
    950: '#000000',
  },
}
SCSS
$custom: #330404;
$custom-light: #6f4848;
$custom-dark: #000000;
JSON
{
  "hex": "#330404",
  "rgb": {
    "r": 51,
    "g": 4,
    "b": 4
  },
  "hsl": {
    "h": 0,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20904,
    "c": 0.07543,
    "h": 26.8
  },
  "luminance": 0.00799
}

Semantic roles & 50–950 ramp

primary
#330404
secondary
#1D7575
accent
#FCFC2C
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #330404

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

Preview Lab → · Contrast checker → · Palette generator →

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