#331121#331121

#331121 is a very dark, muted pink. Relative luminance 0.012; OKLCH L 23.8% C 0.059 H 353.1°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#331121
RGBrgb(51, 17, 33)
HSLhsl(332, 50%, 13%)
HSVhsv(332, 67%, 20%)
CMYKcmyk(0%, 66.7%, 35.3%, 80%)
CIE-LABlab(10.67, 19.33, -2.77)
CIE-LCHlch(10.67, 19.52, 351.85°)
OKLaboklab(23.76% 0.0586 -0.0071)
OKLCHoklch(23.76% 0.059 353.1)
XYZxyz(1.8403, 1.2147, 1.5761)
Luminance0.0121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331121 #113323
analogous
#331132 #331121 #331211
triadic
#331121 #213311 #112133
tetradic
#331121 #323311 #113323 #121133
square
#331121 #323311 #113323 #121133
split-complementary
#331121 #113312 #113233
monochromatic
#17080F #17080F #331121 #61203F #8F305C

Accessibility & contrast

On white

16.89
#331121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#331121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331121
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331121#FFFFFF#000000##FFFFFF
##3311211.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161922
Deuteranopia (green-blind)
#1F1F20
Tritanopia (blue-blind)
#370F17
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #331121;
/* rgb */ color: rgb(51, 17, 33);
/* oklch */ color: oklch(23.8% 0.059 353.1);
Tailwind
colors: {
  custom: {
    50: '#6c515c',
    500: '#331121',
    950: '#000000',
  },
}
SCSS
$custom: #331121;
$custom-light: #6c515c;
$custom-dark: #000000;
JSON
{
  "hex": "#331121",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 33
  },
  "hsl": {
    "h": 331.765,
    "s": 50,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23759,
    "c": 0.05906,
    "h": 353.1
  },
  "luminance": 0.01215
}

Semantic roles & 50–950 ramp

primary
#331121
secondary
#346C52
accent
#DA984E
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #331121

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

Preview Lab → · Contrast checker → · Palette generator →

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