#331C2C#331C2C

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

Color values

HEX#331C2C
RGBrgb(51, 28, 44)
HSLhsl(318, 29%, 15%)
HSVhsv(318, 45%, 20%)
CMYKcmyk(0%, 45.1%, 13.7%, 80%)
CIE-LABlab(13.92, 14.27, -5.97)
CIE-LCHlch(13.92, 15.47, 337.29°)
OKLaboklab(26.36% 0.0415 -0.0159)
OKLCHoklch(26.36% 0.045 339)
XYZxyz(2.2351, 1.7163, 2.5959)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C2C #1C3323
analogous
#2E1C33 #331C2C #331C20
triadic
#331C2C #2C331C #1C2C33
tetradic
#331C2C #332E1C #1C3323 #1C2033
square
#331C2C #332E1C #1C3323 #1C2033
split-complementary
#331C2C #20331C #1C332E
monochromatic
#140B11 #140B11 #331C2C #5B324E #824770

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##331C2C#FFFFFF#000000##FFFFFF
##331C2C1.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)
#1D212D
Deuteranopia (green-blind)
#23252B
Tritanopia (blue-blind)
#351C22
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331c2c;
/* rgb */ color: rgb(51, 28, 44);
/* oklch */ color: oklch(26.4% 0.044 339.0);
Tailwind
colors: {
  custom: {
    50: '#6b5865',
    500: '#331c2c',
    950: '#000000',
  },
}
SCSS
$custom: #331c2c;
$custom-light: #6b5865;
$custom-dark: #000000;
JSON
{
  "hex": "#331c2c",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 44
  },
  "hsl": {
    "h": 318.261,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26361,
    "c": 0.0445,
    "h": 339
  },
  "luminance": 0.01716
}

Semantic roles & 50–950 ramp

primary
#331C2C
secondary
#44674F
accent
#C58162
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060305
muted
#7A787A

Preview Lab

Preview with #331C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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