#331D2E#331D2E

#331D2E is a dark, muted pink. Relative luminance 0.018; OKLCH L 26.7% C 0.044 H 335.5°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#331D2E
RGBrgb(51, 29, 46)
HSLhsl(314, 28%, 16%)
HSVhsv(314, 43%, 20%)
CMYKcmyk(0%, 43.1%, 9.8%, 80%)
CIE-LABlab(14.29, 14.03, -6.86)
CIE-LCHlch(14.29, 15.61, 333.93°)
OKLaboklab(26.67% 0.0403 -0.0184)
OKLCHoklch(26.67% 0.044 335.5)
XYZxyz(2.2977, 1.7799, 2.8068)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D2E #1D3322
analogous
#2D1D33 #331D2E #331D23
triadic
#331D2E #2E331D #1D2E33
tetradic
#331D2E #332D1D #1D3322 #1D2333
square
#331D2E #332D1D #1D3322 #1D2333
split-complementary
#331D2E #23331D #1D332D
monochromatic
#140B12 #140B12 #331D2E #5A3351 #814974

Accessibility & contrast

On white

15.49
#331D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#331D2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331D2E
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D2E#FFFFFF#000000##FFFFFF
##331D2E1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D222F
Deuteranopia (green-blind)
#23252D
Tritanopia (blue-blind)
#351E23
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331d2e;
/* rgb */ color: rgb(51, 29, 46);
/* oklch */ color: oklch(26.7% 0.044 335.5);
Tailwind
colors: {
  custom: {
    50: '#6b5966',
    500: '#331d2e',
    950: '#000000',
  },
}
SCSS
$custom: #331d2e;
$custom-light: #6b5966;
$custom-dark: #000000;
JSON
{
  "hex": "#331d2e",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 46
  },
  "hsl": {
    "h": 313.636,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26666,
    "c": 0.04432,
    "h": 335.5
  },
  "luminance": 0.0178
}

Semantic roles & 50–950 ramp

primary
#331D2E
secondary
#45664D
accent
#C47A64
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #331D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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