#330304#330304

#330304 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 20.7% C 0.077 H 25.8°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#330304
RGBrgb(51, 3, 4)
HSLhsl(359, 89%, 11%)
HSVhsv(359, 94%, 20%)
CMYKcmyk(0%, 94.1%, 92.2%, 80%)
CIE-LABlab(7.03, 23.89, 9.39)
CIE-LCHlch(7.03, 25.67, 21.47°)
OKLaboklab(20.75% 0.0692 0.0335)
OKLCHoklch(20.75% 0.077 25.8)
XYZxyz(1.4199, 0.7779, 0.1902)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330304 #033332
analogous
#33031C #330304 #331A03
triadic
#330304 #043303 #030433
tetradic
#330304 #1C3303 #033332 #1A0333
square
#330304 #1C3303 #033332 #1A0333
split-complementary
#330304 #03331A #031C33
monochromatic
#1D0202 #1D0202 #330304 #6D0609 #A70A0D

Accessibility & contrast

On white

18.17
#330304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330304
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330304#FFFFFF#000000##FFFFFF
##3303041.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #330304;
/* rgb */ color: rgb(51, 3, 4);
/* oklch */ color: oklch(20.7% 0.077 25.8);
Tailwind
colors: {
  custom: {
    50: '#6f4848',
    500: '#330304',
    950: '#000000',
  },
}
SCSS
$custom: #330304;
$custom-light: #6f4848;
$custom-dark: #000000;
JSON
{
  "hex": "#330304",
  "rgb": {
    "r": 51,
    "g": 3,
    "b": 4
  },
  "hsl": {
    "h": 358.75,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.20747,
    "c": 0.07691,
    "h": 25.8
  },
  "luminance": 0.00778
}

Semantic roles & 50–950 ramp

primary
#330304
secondary
#1C7674
accent
#FFFB29
background
#F7F4F4
surface
#EDE6E6
border
#C8C2C2
text
#080000
muted
#7B7777

Preview Lab

Preview with #330304

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

Preview Lab → · Contrast checker → · Palette generator →

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