#330822#330822

#330822 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.5% C 0.076 H 347.7°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#330822
RGBrgb(51, 8, 34)
HSLhsl(324, 73%, 12%)
HSVhsv(324, 84%, 20%)
CMYKcmyk(0%, 84.3%, 33.3%, 80%)
CIE-LABlab(8.93, 24.32, -6.13)
CIE-LCHlch(8.93, 25.08, 345.86°)
OKLaboklab(22.5% 0.074 -0.0161)
OKLCHoklch(22.5% 0.076 347.7)
XYZxyz(1.7409, 0.9932, 1.6131)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330822 #083319
analogous
#2F0833 #330822 #33080D
triadic
#330822 #223308 #082233
tetradic
#330822 #332F08 #083319 #080D33
square
#330822 #332F08 #083319 #080D33
split-complementary
#330822 #0D3308 #08332F
monochromatic
#1A0412 #1A0412 #330822 #681045 #9D1969

Accessibility & contrast

On white

17.52
#330822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#330822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330822
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330822#FFFFFF#000000##FFFFFF
##3308221.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1523
Deuteranopia (green-blind)
#1A1C21
Tritanopia (blue-blind)
#370713
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #330822;
/* rgb */ color: rgb(51, 8, 34);
/* oklch */ color: oklch(22.5% 0.076 347.7);
Tailwind
colors: {
  custom: {
    50: '#6d4c5d',
    500: '#330822',
    950: '#000000',
  },
}
SCSS
$custom: #330822;
$custom-light: #6d4c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#330822",
  "rgb": {
    "r": 51,
    "g": 8,
    "b": 34
  },
  "hsl": {
    "h": 323.721,
    "s": 72.881,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22495,
    "c": 0.07569,
    "h": 347.7
  },
  "luminance": 0.00993
}

Semantic roles & 50–950 ramp

primary
#330822
secondary
#257243
accent
#F08138
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #330822

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

Preview Lab → · Contrast checker → · Palette generator →

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