#331122#331122

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

Color values

HEX#331122
RGBrgb(51, 17, 34)
HSLhsl(330, 50%, 13%)
HSVhsv(330, 67%, 20%)
CMYKcmyk(0%, 66.7%, 33.3%, 80%)
CIE-LABlab(10.71, 19.49, -3.46)
CIE-LCHlch(10.71, 19.79, 349.95°)
OKLaboklab(23.8% 0.059 -0.0089)
OKLCHoklch(23.8% 0.06 351.4)
XYZxyz(1.8545, 1.2204, 1.6510)
Luminance0.0122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331122 #113322
analogous
#331133 #331122 #331111
triadic
#331122 #223311 #112233
tetradic
#331122 #333311 #113322 #111133
square
#331122 #333311 #113322 #111133
split-complementary
#331122 #113311 #113333
monochromatic
#17080F #17080F #331122 #612041 #8F305F

Accessibility & contrast

On white

16.88
#331122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331122
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331122#FFFFFF#000000##FFFFFF
##3311221.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151923
Deuteranopia (green-blind)
#1E1F21
Tritanopia (blue-blind)
#371018
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #331122;
/* rgb */ color: rgb(51, 17, 34);
/* oklch */ color: oklch(23.8% 0.060 351.4);
Tailwind
colors: {
  custom: {
    50: '#6c515c',
    500: '#331122',
    950: '#000000',
  },
}
SCSS
$custom: #331122;
$custom-light: #6c515c;
$custom-dark: #000000;
JSON
{
  "hex": "#331122",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 34
  },
  "hsl": {
    "h": 330,
    "s": 50,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23804,
    "c": 0.05969,
    "h": 351.4
  },
  "luminance": 0.0122
}

Semantic roles & 50–950 ramp

primary
#331122
secondary
#346C50
accent
#DA944E
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #331122

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

Preview Lab → · Contrast checker → · Palette generator →

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