#331D26#331D26

#331D26 is a dark, muted pink. Relative luminance 0.017; OKLCH L 26.3% C 0.037 H 353.8°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#331D26
RGBrgb(51, 29, 38)
HSLhsl(335, 28%, 16%)
HSVhsv(335, 43%, 20%)
CMYKcmyk(0%, 43.1%, 25.5%, 80%)
CIE-LABlab(13.96, 12.37, -1.57)
CIE-LCHlch(13.96, 12.47, 352.75°)
OKLaboklab(26.31% 0.0371 -0.004)
OKLCHoklch(26.31% 0.037 353.8)
XYZxyz(2.1545, 1.7226, 2.0524)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D26 #1D332A
analogous
#331D31 #331D26 #331F1D
triadic
#331D26 #26331D #1D2633
tetradic
#331D26 #31331D #1D332A #1F1D33
square
#331D26 #31331D #1D332A #1F1D33
split-complementary
#331D26 #1D331F #1D3133
monochromatic
#140B0F #140B0F #331D26 #5A3343 #814960

Accessibility & contrast

On white

15.62
#331D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#331D26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331D26
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D26#FFFFFF#000000##FFFFFF
##331D261.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2126
Deuteranopia (green-blind)
#252525
Tritanopia (blue-blind)
#361C20
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331d26;
/* rgb */ color: rgb(51, 29, 38);
/* oklch */ color: oklch(26.3% 0.037 353.8);
Tailwind
colors: {
  custom: {
    50: '#6b5960',
    500: '#331d26',
    950: '#000000',
  },
}
SCSS
$custom: #331d26;
$custom-light: #6b5960;
$custom-dark: #000000;
JSON
{
  "hex": "#331d26",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 38
  },
  "hsl": {
    "h": 335.455,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26308,
    "c": 0.03728,
    "h": 353.8
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#331D26
secondary
#456659
accent
#C49D64
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331D26

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

Preview Lab → · Contrast checker → · Palette generator →

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