#331D29#331D29

#331D29 is a dark, muted pink. Relative luminance 0.017; OKLCH L 26.4% C 0.039 H 346.3°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#331D29
RGBrgb(51, 29, 41)
HSLhsl(327, 28%, 16%)
HSVhsv(327, 43%, 20%)
CMYKcmyk(0%, 43.1%, 19.6%, 80%)
CIE-LABlab(14.08, 12.97, -3.57)
CIE-LCHlch(14.08, 13.45, 344.59°)
OKLaboklab(26.44% 0.0384 -0.0094)
OKLCHoklch(26.44% 0.039 346.3)
XYZxyz(2.2049, 1.7428, 2.3176)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D29 #1D3327
analogous
#321D33 #331D29 #331D1E
triadic
#331D29 #29331D #1D2933
tetradic
#331D29 #33321D #1D3327 #1D1E33
square
#331D29 #33321D #1D3327 #1D1E33
split-complementary
#331D29 #1E331D #1D3332
monochromatic
#140B10 #140B10 #331D29 #5A3348 #814968

Accessibility & contrast

On white

15.57
#331D29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331D29
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D29#FFFFFF#000000##FFFFFF
##331D291.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2229
Deuteranopia (green-blind)
#242528
Tritanopia (blue-blind)
#361D21
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331d29;
/* rgb */ color: rgb(51, 29, 41);
/* oklch */ color: oklch(26.4% 0.039 346.3);
Tailwind
colors: {
  custom: {
    50: '#6b5962',
    500: '#331d29',
    950: '#000000',
  },
}
SCSS
$custom: #331d29;
$custom-light: #6b5962;
$custom-dark: #000000;
JSON
{
  "hex": "#331d29",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 41
  },
  "hsl": {
    "h": 327.273,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26435,
    "c": 0.03949,
    "h": 346.3
  },
  "luminance": 0.01743
}

Semantic roles & 50–950 ramp

primary
#331D29
secondary
#456654
accent
#C49064
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#060305
muted
#7A7879

Preview Lab

Preview with #331D29

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

Preview Lab → · Contrast checker → · Palette generator →

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