#331D2A#331D2A

#331D2A is a dark, muted pink. Relative luminance 0.018; OKLCH L 26.5% C 0.040 H 343.9°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#331D2A
RGBrgb(51, 29, 42)
HSLhsl(325, 28%, 16%)
HSVhsv(325, 43%, 20%)
CMYKcmyk(0%, 43.1%, 17.6%, 80%)
CIE-LABlab(14.12, 13.17, -4.24)
CIE-LCHlch(14.12, 13.84, 342.17°)
OKLaboklab(26.48% 0.0388 -0.0112)
OKLCHoklch(26.48% 0.04 343.9)
XYZxyz(2.2225, 1.7498, 2.4107)
Luminance0.0175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D2A #1D3326
analogous
#311D33 #331D2A #331D1F
triadic
#331D2A #2A331D #1D2A33
tetradic
#331D2A #33311D #1D3326 #1D1F33
square
#331D2A #33311D #1D3326 #1D1F33
split-complementary
#331D2A #1F331D #1D3331
monochromatic
#140B10 #140B10 #331D2A #5A334A #81496A

Accessibility & contrast

On white

15.56
#331D2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331D2A
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D2A#FFFFFF#000000##FFFFFF
##331D2A1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E222A
Deuteranopia (green-blind)
#242529
Tritanopia (blue-blind)
#361D22
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331d2a;
/* rgb */ color: rgb(51, 29, 42);
/* oklch */ color: oklch(26.5% 0.040 343.9);
Tailwind
colors: {
  custom: {
    50: '#6b5963',
    500: '#331d2a',
    950: '#000000',
  },
}
SCSS
$custom: #331d2a;
$custom-light: #6b5963;
$custom-dark: #000000;
JSON
{
  "hex": "#331d2a",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 42
  },
  "hsl": {
    "h": 324.545,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2648,
    "c": 0.04035,
    "h": 343.9
  },
  "luminance": 0.0175
}

Semantic roles & 50–950 ramp

primary
#331D2A
secondary
#456653
accent
#C48B64
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#060305
muted
#7A7879

Preview Lab

Preview with #331D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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