#331C2E#331C2E

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

Color values

HEX#331C2E
RGBrgb(51, 28, 46)
HSLhsl(313, 29%, 15%)
HSVhsv(313, 45%, 20%)
CMYKcmyk(0%, 45.1%, 9.8%, 80%)
CIE-LABlab(14.01, 14.71, -7.28)
CIE-LCHlch(14.01, 16.41, 333.66°)
OKLaboklab(26.46% 0.0423 -0.0196)
OKLCHoklch(26.46% 0.047 335.2)
XYZxyz(2.2736, 1.7317, 2.7987)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C2E #1C3321
analogous
#2C1C33 #331C2E #331C22
triadic
#331C2E #2E331C #1C2E33
tetradic
#331C2E #332C1C #1C3321 #1C2233
square
#331C2E #332C1C #1C3321 #1C2233
split-complementary
#331C2E #22331C #1C332C
monochromatic
#140B12 #140B12 #331C2E #5B3252 #824775

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##331C2E#FFFFFF#000000##FFFFFF
##331C2E1.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)
#1C222F
Deuteranopia (green-blind)
#22252D
Tritanopia (blue-blind)
#351D23
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331c2e;
/* rgb */ color: rgb(51, 28, 46);
/* oklch */ color: oklch(26.5% 0.047 335.2);
Tailwind
colors: {
  custom: {
    50: '#6b5866',
    500: '#331c2e',
    950: '#000000',
  },
}
SCSS
$custom: #331c2e;
$custom-light: #6b5866;
$custom-dark: #000000;
JSON
{
  "hex": "#331c2e",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 46
  },
  "hsl": {
    "h": 313.043,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26458,
    "c": 0.04659,
    "h": 335.2
  },
  "luminance": 0.01732
}

Semantic roles & 50–950 ramp

primary
#331C2E
secondary
#44674C
accent
#C57862
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #331C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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