#331D28#331D28

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

Color values

HEX#331D28
RGBrgb(51, 29, 40)
HSLhsl(330, 28%, 16%)
HSVhsv(330, 43%, 20%)
CMYKcmyk(0%, 43.1%, 21.6%, 80%)
CIE-LABlab(14.04, 12.76, -2.91)
CIE-LCHlch(14.04, 13.09, 347.16°)
OKLaboklab(26.39% 0.0379 -0.0076)
OKLCHoklch(26.39% 0.039 348.7)
XYZxyz(2.1876, 1.7359, 2.2269)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D28 #1D3328
analogous
#331D33 #331D28 #331D1D
triadic
#331D28 #28331D #1D2833
tetradic
#331D28 #33331D #1D3328 #1D1D33
square
#331D28 #33331D #1D3328 #1D1D33
split-complementary
#331D28 #1D331D #1D3333
monochromatic
#140B0F #140B0F #331D28 #5A3347 #814965

Accessibility & contrast

On white

15.59
#331D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331D28
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D28#FFFFFF#000000##FFFFFF
##331D281.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331d28;
/* rgb */ color: rgb(51, 29, 40);
/* oklch */ color: oklch(26.4% 0.039 348.7);
Tailwind
colors: {
  custom: {
    50: '#6b5961',
    500: '#331d28',
    950: '#000000',
  },
}
SCSS
$custom: #331d28;
$custom-light: #6b5961;
$custom-dark: #000000;
JSON
{
  "hex": "#331d28",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 40
  },
  "hsl": {
    "h": 330,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26392,
    "c": 0.03869,
    "h": 348.7
  },
  "luminance": 0.01736
}

Semantic roles & 50–950 ramp

primary
#331D28
secondary
#456656
accent
#C49464
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060305
muted
#7A7879

Preview Lab

Preview with #331D28

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

Preview Lab → · Contrast checker → · Palette generator →

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