#331D25#331D25

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

Color values

HEX#331D25
RGBrgb(51, 29, 37)
HSLhsl(338, 28%, 16%)
HSVhsv(338, 43%, 20%)
CMYKcmyk(0%, 43.1%, 27.5%, 80%)
CIE-LABlab(13.92, 12.19, -0.90)
CIE-LCHlch(13.92, 12.22, 355.76°)
OKLaboklab(26.27% 0.0366 -0.0022)
OKLCHoklch(26.27% 0.037 356.5)
XYZxyz(2.1386, 1.7162, 1.9685)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D25 #1D332B
analogous
#331D30 #331D25 #33201D
triadic
#331D25 #25331D #1D2533
tetradic
#331D25 #30331D #1D332B #201D33
square
#331D25 #30331D #1D332B #201D33
split-complementary
#331D25 #1D3320 #1D3033
monochromatic
#140B0E #140B0E #331D25 #5A3341 #81495E

Accessibility & contrast

On white

15.63
#331D25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331D25
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D25#FFFFFF#000000##FFFFFF
##331D251.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202125
Deuteranopia (green-blind)
#252524
Tritanopia (blue-blind)
#361C20
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331d25;
/* rgb */ color: rgb(51, 29, 37);
/* oklch */ color: oklch(26.3% 0.037 356.5);
Tailwind
colors: {
  custom: {
    50: '#6b595f',
    500: '#331d25',
    950: '#000000',
  },
}
SCSS
$custom: #331d25;
$custom-light: #6b595f;
$custom-dark: #000000;
JSON
{
  "hex": "#331d25",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 37
  },
  "hsl": {
    "h": 338.182,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26268,
    "c": 0.03668,
    "h": 356.5
  },
  "luminance": 0.01716
}

Semantic roles & 50–950 ramp

primary
#331D25
secondary
#45665A
accent
#C4A164
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331D25

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

Preview Lab → · Contrast checker → · Palette generator →

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