#330221#330221

#330221 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.6% C 0.086 H 347.2°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#330221
RGBrgb(51, 2, 33)
HSLhsl(322, 92%, 10%)
HSVhsv(322, 96%, 20%)
CMYKcmyk(0%, 96.1%, 35.3%, 80%)
CIE-LABlab(7.74, 27.43, -7.18)
CIE-LCHlch(7.74, 28.35, 345.32°)
OKLaboklab(21.61% 0.0839 -0.019)
OKLCHoklch(21.61% 0.086 347.2)
XYZxyz(1.6616, 0.8572, 1.5165)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330221 #023314
analogous
#2C0233 #330221 #330208
triadic
#330221 #213302 #022133
tetradic
#330221 #332C02 #023314 #020833
square
#330221 #332C02 #023314 #020833
split-complementary
#330221 #083302 #02332C
monochromatic
#1D0113 #1D0113 #330221 #6E0447 #A9076D

Accessibility & contrast

On white

17.93
#330221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#330221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #330221
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330221#FFFFFF#000000##FFFFFF
##3302211.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081122
Deuteranopia (green-blind)
#181A20
Tritanopia (blue-blind)
#370110
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #330221;
/* rgb */ color: rgb(51, 2, 33);
/* oklch */ color: oklch(21.6% 0.086 347.2);
Tailwind
colors: {
  custom: {
    50: '#6e485c',
    500: '#330221',
    950: '#000000',
  },
}
SCSS
$custom: #330221;
$custom-light: #6e485c;
$custom-dark: #000000;
JSON
{
  "hex": "#330221",
  "rgb": {
    "r": 51,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 322.041,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21612,
    "c": 0.086,
    "h": 347.2
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#330221
secondary
#1A773C
accent
#FF7729
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #330221

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

Preview Lab → · Contrast checker → · Palette generator →

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