#330504#330504

#330504 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.1% C 0.074 H 27.7°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#330504
RGBrgb(51, 5, 4)
HSLhsl(1, 85%, 11%)
HSVhsv(1, 92%, 20%)
CMYKcmyk(0%, 90.2%, 92.2%, 80%)
CIE-LABlab(7.42, 22.82, 9.97)
CIE-LCHlch(7.42, 24.91, 23.59°)
OKLaboklab(21.06% 0.0655 0.0344)
OKLCHoklch(21.06% 0.074 27.7)
XYZxyz(1.4416, 0.8213, 0.1975)
Luminance0.0082 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330504 #043233
analogous
#33041A #330504 #331C04
triadic
#330504 #043305 #050433
tetradic
#330504 #1A3304 #043233 #1C0433
square
#330504 #1A3304 #043233 #1C0433
split-complementary
#330504 #04331C #041A33
monochromatic
#1C0302 #1C0302 #330504 #6C0B08 #A4100D

Accessibility & contrast

On white

18.04
#330504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330504
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330504#FFFFFF#000000##FFFFFF
##3305041.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131004
Deuteranopia (green-blind)
#1E1A03
Tritanopia (blue-blind)
#390005
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #330504;
/* rgb */ color: rgb(51, 5, 4);
/* oklch */ color: oklch(21.1% 0.074 27.7);
Tailwind
colors: {
  custom: {
    50: '#6f4948',
    500: '#330504',
    950: '#000000',
  },
}
SCSS
$custom: #330504;
$custom-light: #6f4948;
$custom-dark: #000000;
JSON
{
  "hex": "#330504",
  "rgb": {
    "r": 51,
    "g": 5,
    "b": 4
  },
  "hsl": {
    "h": 1.277,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21059,
    "c": 0.074,
    "h": 27.7
  },
  "luminance": 0.00821
}

Semantic roles & 50–950 ramp

primary
#330504
secondary
#1D7375
accent
#F7FC2C
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #330504

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

Preview Lab → · Contrast checker → · Palette generator →

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