#331528#331528

#331528 is a very dark, muted pink. Relative luminance 0.014; OKLCH L 24.8% C 0.056 H 343.2°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#331528
RGBrgb(51, 21, 40)
HSLhsl(322, 42%, 14%)
HSVhsv(322, 59%, 20%)
CMYKcmyk(0%, 58.8%, 21.6%, 80%)
CIE-LABlab(11.91, 18.09, -6.09)
CIE-LCHlch(11.91, 19.09, 341.38°)
OKLaboklab(24.79% 0.0537 -0.0162)
OKLCHoklch(24.79% 0.056 343.2)
XYZxyz(2.0164, 1.3935, 2.1698)
Luminance0.0139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331528 #153320
analogous
#2F1533 #331528 #331519
triadic
#331528 #283315 #152833
tetradic
#331528 #332F15 #153320 #151933
square
#331528 #332F15 #153320 #151933
split-complementary
#331528 #193315 #15332F
monochromatic
#160911 #160911 #331528 #5E274A #8A396C

Accessibility & contrast

On white

16.42
#331528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#331528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331528
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331528#FFFFFF#000000##FFFFFF
##3315281.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171C29
Deuteranopia (green-blind)
#1F2127
Tritanopia (blue-blind)
#36151C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #331528;
/* rgb */ color: rgb(51, 21, 40);
/* oklch */ color: oklch(24.8% 0.056 343.2);
Tailwind
colors: {
  custom: {
    50: '#6c5361',
    500: '#331528',
    950: '#000000',
  },
}
SCSS
$custom: #331528;
$custom-light: #6c5361;
$custom-dark: #000000;
JSON
{
  "hex": "#331528",
  "rgb": {
    "r": 51,
    "g": 21,
    "b": 40
  },
  "hsl": {
    "h": 322,
    "s": 41.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24792,
    "c": 0.05611,
    "h": 343.2
  },
  "luminance": 0.01393
}

Semantic roles & 50–950 ramp

primary
#331528
secondary
#3A6A4C
accent
#D18356
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070205
muted
#7A7879

Preview Lab

Preview with #331528

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

Preview Lab → · Contrast checker → · Palette generator →

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