#330222#330222

#330222 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.7% C 0.087 H 346.0°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#330222
RGBrgb(51, 2, 34)
HSLhsl(321, 92%, 10%)
HSVhsv(321, 96%, 20%)
CMYKcmyk(0%, 96.1%, 33.3%, 80%)
CIE-LABlab(7.79, 27.57, -7.87)
CIE-LCHlch(7.79, 28.68, 344.06°)
OKLaboklab(21.67% 0.0841 -0.0209)
OKLCHoklch(21.67% 0.087 346)
XYZxyz(1.6758, 0.8629, 1.5914)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#330222 #023313
analogous
#2B0233 #330222 #33020A
triadic
#330222 #223302 #022233
tetradic
#330222 #332B02 #023313 #020A33
square
#330222 #332B02 #023313 #020A33
split-complementary
#330222 #0A3302 #02332B
monochromatic
#1D0114 #1D0114 #330222 #6E0449 #A90771

Accessibility & contrast

On white

17.91
#330222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #330222
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##330222#FFFFFF#000000##FFFFFF
##3302221.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081223
Deuteranopia (green-blind)
#181A21
Tritanopia (blue-blind)
#370111
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #330222;
/* rgb */ color: rgb(51, 2, 34);
/* oklch */ color: oklch(21.7% 0.087 346.0);
Tailwind
colors: {
  custom: {
    50: '#6d485d',
    500: '#330222',
    950: '#000000',
  },
}
SCSS
$custom: #330222;
$custom-light: #6d485d;
$custom-dark: #000000;
JSON
{
  "hex": "#330222",
  "rgb": {
    "r": 51,
    "g": 2,
    "b": 34
  },
  "hsl": {
    "h": 320.816,
    "s": 92.453,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21667,
    "c": 0.08667,
    "h": 346
  },
  "luminance": 0.00863
}

Semantic roles & 50–950 ramp

primary
#330222
secondary
#1A773A
accent
#FF7329
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #330222

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

Preview Lab → · Contrast checker → · Palette generator →

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