#331D23#331D23

#331D23 is a dark, muted pink. Relative luminance 0.017; OKLCH L 26.2% C 0.036 H 2.1°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#331D23
RGBrgb(51, 29, 35)
HSLhsl(344, 28%, 16%)
HSVhsv(344, 43%, 20%)
CMYKcmyk(0%, 43.1%, 31.4%, 80%)
CIE-LABlab(13.85, 11.81, 0.44)
CIE-LCHlch(13.85, 11.82, 2.15°)
OKLaboklab(26.19% 0.0357 0.0013)
OKLCHoklch(26.19% 0.036 2.1)
XYZxyz(2.1080, 1.7040, 1.8077)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D23 #1D332D
analogous
#331D2E #331D23 #33221D
triadic
#331D23 #23331D #1D2333
tetradic
#331D23 #2E331D #1D332D #221D33
square
#331D23 #2E331D #1D332D #221D33
split-complementary
#331D23 #1D3322 #1D2E33
monochromatic
#140B0D #140B0D #331D23 #5A333E #814959

Accessibility & contrast

On white

15.66
#331D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#331D23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331D23
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D23#FFFFFF#000000##FFFFFF
##331D231.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202123
Deuteranopia (green-blind)
#252523
Tritanopia (blue-blind)
#371C1F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331d23;
/* rgb */ color: rgb(51, 29, 35);
/* oklch */ color: oklch(26.2% 0.036 2.1);
Tailwind
colors: {
  custom: {
    50: '#6b595d',
    500: '#331d23',
    950: '#000000',
  },
}
SCSS
$custom: #331d23;
$custom-light: #6b595d;
$custom-dark: #000000;
JSON
{
  "hex": "#331d23",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 35
  },
  "hsl": {
    "h": 343.636,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2619,
    "c": 0.03571,
    "h": 2.1
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#331D23
secondary
#45665D
accent
#C4AA64
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331D23

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

Preview Lab → · Contrast checker → · Palette generator →

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