#331C22#331C22

#331C22 is a dark, muted pink. Relative luminance 0.017; OKLCH L 25.9% C 0.037 H 3.1°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#331C22
RGBrgb(51, 28, 34)
HSLhsl(344, 29%, 15%)
HSVhsv(344, 45%, 20%)
CMYKcmyk(0%, 45.1%, 33.3%, 80%)
CIE-LABlab(13.53, 12.32, 0.71)
CIE-LCHlch(13.53, 12.34, 3.30°)
OKLaboklab(25.94% 0.0373 0.002)
OKLCHoklch(25.94% 0.037 3.1)
XYZxyz(2.0693, 1.6500, 1.7225)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C22 #1C332D
analogous
#331C2D #331C22 #33211C
triadic
#331C22 #22331C #1C2233
tetradic
#331C22 #2D331C #1C332D #211C33
square
#331C22 #2D331C #1C332D #211C33
split-complementary
#331C22 #1C3321 #1C2D33
monochromatic
#140B0D #140B0D #331C22 #5B323C #824757

Accessibility & contrast

On white

15.79
#331C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#331C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331C22
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C22#FFFFFF#000000##FFFFFF
##331C221.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2022
Deuteranopia (green-blind)
#252422
Tritanopia (blue-blind)
#371A1E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331c22;
/* rgb */ color: rgb(51, 28, 34);
/* oklch */ color: oklch(25.9% 0.037 3.1);
Tailwind
colors: {
  custom: {
    50: '#6b585c',
    500: '#331c22',
    950: '#000000',
  },
}
SCSS
$custom: #331c22;
$custom-light: #6b585c;
$custom-dark: #000000;
JSON
{
  "hex": "#331c22",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 34
  },
  "hsl": {
    "h": 344.348,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25935,
    "c": 0.03733,
    "h": 3.1
  },
  "luminance": 0.0165
}

Semantic roles & 50–950 ramp

primary
#331C22
secondary
#44675E
accent
#C5AC62
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331C22

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

Preview Lab → · Contrast checker → · Palette generator →

#331C22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva