#330818#330818

#330818 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.0% C 0.070 H 2.2°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#330818
RGBrgb(51, 8, 24)
HSLhsl(338, 73%, 12%)
HSVhsv(338, 84%, 20%)
CMYKcmyk(0%, 84.3%, 52.9%, 80%)
CIE-LABlab(8.51, 22.94, 0.93)
CIE-LCHlch(8.51, 22.96, 2.32°)
OKLaboklab(22.05% 0.0703 0.0027)
OKLCHoklch(22.05% 0.07 2.2)
XYZxyz(1.6171, 0.9436, 0.9610)
Luminance0.0094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330818 #083323
analogous
#33082E #330818 #330E08
triadic
#330818 #183308 #081833
tetradic
#330818 #2E3308 #083323 #0E0833
square
#330818 #2E3308 #083323 #0E0833
split-complementary
#330818 #08330E #082E33
monochromatic
#1A040C #1A040C #330818 #681031 #9D194A

Accessibility & contrast

On white

17.67
#330818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#330818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330818
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330818#FFFFFF#000000##FFFFFF
##3308181.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111318
Deuteranopia (green-blind)
#1D1C17
Tritanopia (blue-blind)
#38030F
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #330818;
/* rgb */ color: rgb(51, 8, 24);
/* oklch */ color: oklch(22.0% 0.070 2.2);
Tailwind
colors: {
  custom: {
    50: '#6e4b54',
    500: '#330818',
    950: '#000000',
  },
}
SCSS
$custom: #330818;
$custom-light: #6e4b54;
$custom-dark: #000000;
JSON
{
  "hex": "#330818",
  "rgb": {
    "r": 51,
    "g": 8,
    "b": 24
  },
  "hsl": {
    "h": 337.674,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22048,
    "c": 0.0703,
    "h": 2.2
  },
  "luminance": 0.00943
}

Semantic roles & 50–950 ramp

primary
#330818
secondary
#257255
accent
#F0AB38
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #330818

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

Preview Lab → · Contrast checker → · Palette generator →

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