#331322#331322

#331322 is a very dark, muted pink. Relative luminance 0.013; OKLCH L 24.2% C 0.056 H 352.7°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#331322
RGBrgb(51, 19, 34)
HSLhsl(332, 46%, 14%)
HSVhsv(332, 63%, 20%)
CMYKcmyk(0%, 62.7%, 33.3%, 80%)
CIE-LABlab(11.17, 18.27, -2.76)
CIE-LCHlch(11.17, 18.47, 351.40°)
OKLaboklab(24.15% 0.0553 -0.0071)
OKLCHoklch(24.15% 0.056 352.7)
XYZxyz(1.8869, 1.2852, 1.6618)
Luminance0.0129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331322 #133324
analogous
#331332 #331322 #331413
triadic
#331322 #223313 #132233
tetradic
#331322 #323313 #133324 #141333
square
#331322 #323313 #133324 #141333
split-complementary
#331322 #133314 #133233
monochromatic
#16080F #16080F #331322 #602440 #8C345D

Accessibility & contrast

On white

16.71
#331322 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#331322 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331322
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331322#FFFFFF#000000##FFFFFF
##3313221.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171A22
Deuteranopia (green-blind)
#202021
Tritanopia (blue-blind)
#371219
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #331322;
/* rgb */ color: rgb(51, 19, 34);
/* oklch */ color: oklch(24.2% 0.056 352.7);
Tailwind
colors: {
  custom: {
    50: '#6c525c',
    500: '#331322',
    950: '#000000',
  },
}
SCSS
$custom: #331322;
$custom-light: #6c525c;
$custom-dark: #000000;
JSON
{
  "hex": "#331322",
  "rgb": {
    "r": 51,
    "g": 19,
    "b": 34
  },
  "hsl": {
    "h": 331.875,
    "s": 45.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24151,
    "c": 0.05573,
    "h": 352.7
  },
  "luminance": 0.01285
}

Semantic roles & 50–950 ramp

primary
#331322
secondary
#376B53
accent
#D59852
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #331322

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

Preview Lab → · Contrast checker → · Palette generator →

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