#331328#331328

#331328 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.4% C 0.060 H 342.4°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#331328
RGBrgb(51, 19, 40)
HSLhsl(321, 46%, 14%)
HSVhsv(321, 63%, 20%)
CMYKcmyk(0%, 62.7%, 21.6%, 80%)
CIE-LABlab(11.43, 19.35, -6.82)
CIE-LCHlch(11.43, 20.52, 340.58°)
OKLaboklab(24.43% 0.0575 -0.0182)
OKLCHoklch(24.43% 0.06 342.4)
XYZxyz(1.9812, 1.3229, 2.1581)
Luminance0.0132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331328 #13331E
analogous
#2E1333 #331328 #331318
triadic
#331328 #283313 #132833
tetradic
#331328 #332E13 #13331E #131833
square
#331328 #332E13 #13331E #131833
split-complementary
#331328 #183313 #13332E
monochromatic
#160811 #160811 #331328 #60244B #8C346E

Accessibility & contrast

On white

16.61
#331328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331328
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331328#FFFFFF#000000##FFFFFF
##3313281.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151B29
Deuteranopia (green-blind)
#1E2027
Tritanopia (blue-blind)
#36131B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #331328;
/* rgb */ color: rgb(51, 19, 40);
/* oklch */ color: oklch(24.4% 0.060 342.4);
Tailwind
colors: {
  custom: {
    50: '#6c5261',
    500: '#331328',
    950: '#000000',
  },
}
SCSS
$custom: #331328;
$custom-light: #6c5261;
$custom-dark: #000000;
JSON
{
  "hex": "#331328",
  "rgb": {
    "r": 51,
    "g": 19,
    "b": 40
  },
  "hsl": {
    "h": 320.625,
    "s": 45.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24434,
    "c": 0.06027,
    "h": 342.4
  },
  "luminance": 0.01323
}

Semantic roles & 50–950 ramp

primary
#331328
secondary
#376B49
accent
#D57F52
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070205
muted
#7A7879

Preview Lab

Preview with #331328

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

Preview Lab → · Contrast checker → · Palette generator →

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