#331D2F#331D2F

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

Color values

HEX#331D2F
RGBrgb(51, 29, 47)
HSLhsl(311, 28%, 16%)
HSVhsv(311, 43%, 20%)
CMYKcmyk(0%, 43.1%, 7.8%, 80%)
CIE-LABlab(14.33, 14.25, -7.51)
CIE-LCHlch(14.33, 16.11, 332.20°)
OKLaboklab(26.72% 0.0407 -0.0202)
OKLCHoklch(26.72% 0.045 333.6)
XYZxyz(2.3177, 1.7879, 2.9118)
Luminance0.0179 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D2F #1D3321
analogous
#2C1D33 #331D2F #331D24
triadic
#331D2F #2F331D #1D2F33
tetradic
#331D2F #332C1D #1D3321 #1D2433
square
#331D2F #332C1D #1D3321 #1D2433
split-complementary
#331D2F #24331D #1D332C
monochromatic
#140B12 #140B12 #331D2F #5A3353 #814977

Accessibility & contrast

On white

15.47
#331D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331D2F
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D2F#FFFFFF#000000##FFFFFF
##331D2F1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2230
Deuteranopia (green-blind)
#22252E
Tritanopia (blue-blind)
#351E24
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331d2f;
/* rgb */ color: rgb(51, 29, 47);
/* oklch */ color: oklch(26.7% 0.045 333.6);
Tailwind
colors: {
  custom: {
    50: '#6b5967',
    500: '#331d2f',
    950: '#000000',
  },
}
SCSS
$custom: #331d2f;
$custom-light: #6b5967;
$custom-dark: #000000;
JSON
{
  "hex": "#331d2f",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 310.909,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26715,
    "c": 0.04542,
    "h": 333.6
  },
  "luminance": 0.01788
}

Semantic roles & 50–950 ramp

primary
#331D2F
secondary
#45664B
accent
#C47564
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #331D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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