#331222#331222

#331222 is a very dark, muted pink. Relative luminance 0.013; OKLCH L 24.0% C 0.058 H 352.0°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#331222
RGBrgb(51, 18, 34)
HSLhsl(331, 48%, 14%)
HSVhsv(331, 65%, 20%)
CMYKcmyk(0%, 64.7%, 33.3%, 80%)
CIE-LABlab(10.94, 18.89, -3.11)
CIE-LCHlch(10.94, 19.14, 350.64°)
OKLaboklab(23.98% 0.0572 -0.008)
OKLCHoklch(23.98% 0.058 352)
XYZxyz(1.8704, 1.2521, 1.6562)
Luminance0.0125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331222 #123323
analogous
#331232 #331222 #331212
triadic
#331222 #223312 #122233
tetradic
#331222 #323312 #123323 #121233
square
#331222 #323312 #123323 #121233
split-complementary
#331222 #123312 #123233
monochromatic
#17080F #17080F #331222 #602240 #8D325E

Accessibility & contrast

On white

16.79
#331222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#331222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331222
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331222#FFFFFF#000000##FFFFFF
##3312221.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161A23
Deuteranopia (green-blind)
#1F2021
Tritanopia (blue-blind)
#371118
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #331222;
/* rgb */ color: rgb(51, 18, 34);
/* oklch */ color: oklch(24.0% 0.058 352.0);
Tailwind
colors: {
  custom: {
    50: '#6c515c',
    500: '#331222',
    950: '#000000',
  },
}
SCSS
$custom: #331222;
$custom-light: #6c515c;
$custom-dark: #000000;
JSON
{
  "hex": "#331222",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 34
  },
  "hsl": {
    "h": 330.909,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23975,
    "c": 0.05773,
    "h": 352
  },
  "luminance": 0.01252
}

Semantic roles & 50–950 ramp

primary
#331222
secondary
#356B51
accent
#D79650
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #331222

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

Preview Lab → · Contrast checker → · Palette generator →

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