#330812#330812

#330812 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.8% C 0.069 H 11.3°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#330812
RGBrgb(51, 8, 18)
HSLhsl(346, 73%, 12%)
HSVhsv(346, 84%, 20%)
CMYKcmyk(0%, 84.3%, 64.7%, 80%)
CIE-LABlab(8.32, 22.28, 4.79)
CIE-LCHlch(8.32, 22.79, 12.13°)
OKLaboklab(21.84% 0.0675 0.0134)
OKLCHoklch(21.84% 0.069 11.3)
XYZxyz(1.5614, 0.9214, 0.6678)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330812 #083329
analogous
#330828 #330812 #331408
triadic
#330812 #123308 #081233
tetradic
#330812 #283308 #083329 #140833
square
#330812 #283308 #083329 #140833
split-complementary
#330812 #083314 #082833
monochromatic
#1A0409 #1A0409 #330812 #681025 #9D1937

Accessibility & contrast

On white

17.73
#330812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330812
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330812#FFFFFF#000000##FFFFFF
##3308121.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131312
Deuteranopia (green-blind)
#1E1B11
Tritanopia (blue-blind)
#39020C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #330812;
/* rgb */ color: rgb(51, 8, 18);
/* oklch */ color: oklch(21.8% 0.069 11.3);
Tailwind
colors: {
  custom: {
    50: '#6e4b4f',
    500: '#330812',
    950: '#000000',
  },
}
SCSS
$custom: #330812;
$custom-light: #6e4b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#330812",
  "rgb": {
    "r": 51,
    "g": 8,
    "b": 18
  },
  "hsl": {
    "h": 346.047,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2184,
    "c": 0.06878,
    "h": 11.3
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#330812
secondary
#257260
accent
#F0C538
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #330812

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

Preview Lab → · Contrast checker → · Palette generator →

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