#331522#331522

#331522 is a very dark, muted pink. Relative luminance 0.014; OKLCH L 24.5% C 0.052 H 354.3°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#331522
RGBrgb(51, 21, 34)
HSLhsl(334, 42%, 14%)
HSVhsv(334, 59%, 20%)
CMYKcmyk(0%, 58.8%, 33.3%, 80%)
CIE-LABlab(11.66, 17.00, -2.04)
CIE-LCHlch(11.66, 17.12, 353.17°)
OKLaboklab(24.52% 0.0514 -0.0052)
OKLCHoklch(24.52% 0.052 354.3)
XYZxyz(1.9222, 1.3558, 1.6735)
Luminance0.0136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331522 #153326
analogous
#331531 #331522 #331715
triadic
#331522 #223315 #152233
tetradic
#331522 #313315 #153326 #171533
square
#331522 #313315 #153326 #171533
split-complementary
#331522 #153317 #153133
monochromatic
#16090E #16090E #331522 #5E273F #8A395C

Accessibility & contrast

On white

16.52
#331522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#331522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331522
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331522#FFFFFF#000000##FFFFFF
##3315221.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191B22
Deuteranopia (green-blind)
#212121
Tritanopia (blue-blind)
#37131A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #331522;
/* rgb */ color: rgb(51, 21, 34);
/* oklch */ color: oklch(24.5% 0.052 354.3);
Tailwind
colors: {
  custom: {
    50: '#6c535c',
    500: '#331522',
    950: '#000000',
  },
}
SCSS
$custom: #331522;
$custom-light: #6c535c;
$custom-dark: #000000;
JSON
{
  "hex": "#331522",
  "rgb": {
    "r": 51,
    "g": 21,
    "b": 34
  },
  "hsl": {
    "h": 334,
    "s": 41.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24518,
    "c": 0.05167,
    "h": 354.3
  },
  "luminance": 0.01356
}

Semantic roles & 50–950 ramp

primary
#331522
secondary
#3A6A55
accent
#D19C56
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #331522

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

Preview Lab → · Contrast checker → · Palette generator →

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