#331C28#331C28

#331C28 is a dark, muted pink. Relative luminance 0.017; OKLCH L 26.2% C 0.041 H 347.7°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#331C28
RGBrgb(51, 28, 40)
HSLhsl(329, 29%, 15%)
HSVhsv(329, 45%, 20%)
CMYKcmyk(0%, 45.1%, 21.6%, 80%)
CIE-LABlab(13.75, 13.45, -3.33)
CIE-LCHlch(13.75, 13.86, 346.10°)
OKLaboklab(26.18% 0.04 -0.0087)
OKLCHoklch(26.18% 0.041 347.7)
XYZxyz(2.1635, 1.6876, 2.2189)
Luminance0.0169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C28 #1C3327
analogous
#321C33 #331C28 #331C1C
triadic
#331C28 #28331C #1C2833
tetradic
#331C28 #33321C #1C3327 #1C1C33
square
#331C28 #33321C #1C3327 #1C1C33
split-complementary
#331C28 #1C331C #1C3332
monochromatic
#140B0F #140B0F #331C28 #5B3247 #824766

Accessibility & contrast

On white

15.70
#331C28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331C28
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C28#FFFFFF#000000##FFFFFF
##331C281.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2128
Deuteranopia (green-blind)
#242527
Tritanopia (blue-blind)
#361C20
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331c28;
/* rgb */ color: rgb(51, 28, 40);
/* oklch */ color: oklch(26.2% 0.041 347.7);
Tailwind
colors: {
  custom: {
    50: '#6b5861',
    500: '#331c28',
    950: '#000000',
  },
}
SCSS
$custom: #331c28;
$custom-light: #6b5861;
$custom-dark: #000000;
JSON
{
  "hex": "#331c28",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 40
  },
  "hsl": {
    "h": 328.696,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26179,
    "c": 0.04089,
    "h": 347.7
  },
  "luminance": 0.01688
}

Semantic roles & 50–950 ramp

primary
#331C28
secondary
#446755
accent
#C59262
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070305
muted
#7A7879

Preview Lab

Preview with #331C28

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

Preview Lab → · Contrast checker → · Palette generator →

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