#331D27#331D27

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

Color values

HEX#331D27
RGBrgb(51, 29, 39)
HSLhsl(333, 28%, 16%)
HSVhsv(333, 43%, 20%)
CMYKcmyk(0%, 43.1%, 23.5%, 80%)
CIE-LABlab(14.00, 12.57, -2.24)
CIE-LCHlch(14.00, 12.76, 349.88°)
OKLaboklab(26.35% 0.0375 -0.0058)
OKLCHoklch(26.35% 0.038 351.2)
XYZxyz(2.1708, 1.7292, 2.1385)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331D27 #1D3329
analogous
#331D32 #331D27 #331E1D
triadic
#331D27 #27331D #1D2733
tetradic
#331D27 #32331D #1D3329 #1E1D33
square
#331D27 #32331D #1D3329 #1E1D33
split-complementary
#331D27 #1D331E #1D3233
monochromatic
#140B0F #140B0F #331D27 #5A3345 #814963

Accessibility & contrast

On white

15.60
#331D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331D27
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331D27#FFFFFF#000000##FFFFFF
##331D271.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331d27;
/* rgb */ color: rgb(51, 29, 39);
/* oklch */ color: oklch(26.4% 0.038 351.2);
Tailwind
colors: {
  custom: {
    50: '#6b5961',
    500: '#331d27',
    950: '#000000',
  },
}
SCSS
$custom: #331d27;
$custom-light: #6b5961;
$custom-dark: #000000;
JSON
{
  "hex": "#331d27",
  "rgb": {
    "r": 51,
    "g": 29,
    "b": 39
  },
  "hsl": {
    "h": 332.727,
    "s": 27.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2635,
    "c": 0.03794,
    "h": 351.2
  },
  "luminance": 0.01729
}

Semantic roles & 50–950 ramp

primary
#331D27
secondary
#456657
accent
#C49864
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070305
muted
#7A7879

Preview Lab

Preview with #331D27

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

Preview Lab → · Contrast checker → · Palette generator →

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