#331D2C#331D2C

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

Color values

HEX#331D2C
RGBrgb(51, 29, 44)
HSLhsl(319, 28%, 16%)
HSVhsv(319, 43%, 20%)
CMYKcmyk(0%, 43.1%, 13.7%, 80%)
CIE-LABlab(14.20, 13.59, -5.55)
CIE-LCHlch(14.20, 14.68, 337.77°)
OKLaboklab(26.57% 0.0396 -0.0148)
OKLCHoklch(26.57% 0.042 339.5)
XYZxyz(2.2592, 1.7645, 2.6040)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D2C #1D3324
analogous
#2F1D33 #331D2C #331D21
triadic
#331D2C #2C331D #1D2C33
tetradic
#331D2C #332F1D #1D3324 #1D2133
square
#331D2C #332F1D #1D3324 #1D2133
split-complementary
#331D2C #21331D #1D332F
monochromatic
#140B11 #140B11 #331D2C #5A334E #81496F

Accessibility & contrast

On white

15.52
#331D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331D2C
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D2C#FFFFFF#000000##FFFFFF
##331D2C1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E222D
Deuteranopia (green-blind)
#23252B
Tritanopia (blue-blind)
#351D22
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331d2c;
/* rgb */ color: rgb(51, 29, 44);
/* oklch */ color: oklch(26.6% 0.042 339.5);
Tailwind
colors: {
  custom: {
    50: '#6b5965',
    500: '#331d2c',
    950: '#000000',
  },
}
SCSS
$custom: #331d2c;
$custom-light: #6b5965;
$custom-dark: #000000;
JSON
{
  "hex": "#331d2c",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 44
  },
  "hsl": {
    "h": 319.091,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26571,
    "c": 0.04224,
    "h": 339.5
  },
  "luminance": 0.01764
}

Semantic roles & 50–950 ramp

primary
#331D2C
secondary
#456650
accent
#C48264
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060305
muted
#7A787A

Preview Lab

Preview with #331D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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