#330802#330802

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

Color values

HEX#330802
RGBrgb(51, 8, 2)
HSLhsl(7, 92%, 10%)
HSVhsv(7, 96%, 20%)
CMYKcmyk(0%, 84.3%, 96.1%, 80%)
CIE-LABlab(7.97, 21.07, 11.58)
CIE-LCHlch(7.97, 24.05, 28.80°)
OKLaboklab(21.47% 0.0589 0.0393)
OKLCHoklch(21.47% 0.071 33.7)
XYZxyz(1.4632, 0.8821, 0.1506)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330802 #022D33
analogous
#330214 #330802 #332002
triadic
#330802 #023308 #080233
tetradic
#330802 #143302 #022D33 #200233
square
#330802 #143302 #022D33 #200233
split-complementary
#330802 #023320 #021433
monochromatic
#1D0501 #1D0501 #330802 #6E1104 #A91A07

Accessibility & contrast

On white

17.85
#330802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330802
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330802#FFFFFF#000000##FFFFFF
##3308021.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151101
Deuteranopia (green-blind)
#201B01
Tritanopia (blue-blind)
#390007
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #330802;
/* rgb */ color: rgb(51, 8, 2);
/* oklch */ color: oklch(21.5% 0.071 33.7);
Tailwind
colors: {
  custom: {
    50: '#6e4b47',
    500: '#330802',
    950: '#000000',
  },
}
SCSS
$custom: #330802;
$custom-light: #6e4b47;
$custom-dark: #000000;
JSON
{
  "hex": "#330802",
  "rgb": {
    "r": 51,
    "g": 8,
    "b": 2
  },
  "hsl": {
    "h": 7.347,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21466,
    "c": 0.07085,
    "h": 33.7
  },
  "luminance": 0.00882
}

Semantic roles & 50–950 ramp

primary
#330802
secondary
#1A6C77
accent
#E5FF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #330802

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

Preview Lab → · Contrast checker → · Palette generator →

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