#331D2D#331D2D

#331D2D is a dark, muted pink. Relative luminance 0.018; OKLCH L 26.6% C 0.043 H 337.4°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#331D2D
RGBrgb(51, 29, 45)
HSLhsl(316, 28%, 16%)
HSVhsv(316, 43%, 20%)
CMYKcmyk(0%, 43.1%, 11.8%, 80%)
CIE-LABlab(14.24, 13.81, -6.21)
CIE-LCHlch(14.24, 15.14, 335.79°)
OKLaboklab(26.62% 0.04 -0.0166)
OKLCHoklch(26.62% 0.043 337.4)
XYZxyz(2.2783, 1.7721, 2.7042)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D2D #1D3323
analogous
#2E1D33 #331D2D #331D22
triadic
#331D2D #2D331D #1D2D33
tetradic
#331D2D #332E1D #1D3323 #1D2233
square
#331D2D #332E1D #1D3323 #1D2233
split-complementary
#331D2D #22331D #1D332E
monochromatic
#140B11 #140B11 #331D2D #5A334F #814972

Accessibility & contrast

On white

15.51
#331D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#331D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331D2D
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D2D#FFFFFF#000000##FFFFFF
##331D2D1.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331d2d;
/* rgb */ color: rgb(51, 29, 45);
/* oklch */ color: oklch(26.6% 0.043 337.4);
Tailwind
colors: {
  custom: {
    50: '#6b5965',
    500: '#331d2d',
    950: '#000000',
  },
}
SCSS
$custom: #331d2d;
$custom-light: #6b5965;
$custom-dark: #000000;
JSON
{
  "hex": "#331d2d",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 45
  },
  "hsl": {
    "h": 316.364,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26618,
    "c": 0.04326,
    "h": 337.4
  },
  "luminance": 0.01772
}

Semantic roles & 50–950 ramp

primary
#331D2D
secondary
#45664E
accent
#C47E64
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060305
muted
#7A787A

Preview Lab

Preview with #331D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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