#331C27#331C27

#331C27 is a dark, muted pink. Relative luminance 0.017; OKLCH L 26.1% C 0.040 H 350.1°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#331C27
RGBrgb(51, 28, 39)
HSLhsl(331, 29%, 15%)
HSVhsv(331, 45%, 20%)
CMYKcmyk(0%, 45.1%, 23.5%, 80%)
CIE-LABlab(13.71, 13.25, -2.66)
CIE-LCHlch(13.71, 13.52, 348.65°)
OKLaboklab(26.14% 0.0395 -0.0069)
OKLCHoklch(26.14% 0.04 350.1)
XYZxyz(2.1467, 1.6809, 2.1304)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C27 #1C3328
analogous
#331C32 #331C27 #331C1C
triadic
#331C27 #27331C #1C2733
tetradic
#331C27 #32331C #1C3328 #1C1C33
square
#331C27 #32331C #1C3328 #1C1C33
split-complementary
#331C27 #1C331C #1C3233
monochromatic
#140B0F #140B0F #331C27 #5B3245 #824763

Accessibility & contrast

On white

15.72
#331C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331C27
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C27#FFFFFF#000000##FFFFFF
##331C271.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2127
Deuteranopia (green-blind)
#242426
Tritanopia (blue-blind)
#361B20
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331c27;
/* rgb */ color: rgb(51, 28, 39);
/* oklch */ color: oklch(26.1% 0.040 350.1);
Tailwind
colors: {
  custom: {
    50: '#6b5861',
    500: '#331c27',
    950: '#000000',
  },
}
SCSS
$custom: #331c27;
$custom-light: #6b5861;
$custom-dark: #000000;
JSON
{
  "hex": "#331c27",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 39
  },
  "hsl": {
    "h": 331.304,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26136,
    "c": 0.04013,
    "h": 350.1
  },
  "luminance": 0.01681
}

Semantic roles & 50–950 ramp

primary
#331C27
secondary
#446756
accent
#C59662
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070305
muted
#7A7879

Preview Lab

Preview with #331C27

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

Preview Lab → · Contrast checker → · Palette generator →

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