#331C2D#331C2D

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

Color values

HEX#331C2D
RGBrgb(51, 28, 45)
HSLhsl(316, 29%, 15%)
HSVhsv(316, 45%, 20%)
CMYKcmyk(0%, 45.1%, 11.8%, 80%)
CIE-LABlab(13.97, 14.49, -6.63)
CIE-LCHlch(13.97, 15.93, 335.42°)
OKLaboklab(26.41% 0.0419 -0.0177)
OKLCHoklch(26.41% 0.046 337.1)
XYZxyz(2.2541, 1.7239, 2.6961)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C2D #1C3322
analogous
#2D1C33 #331C2D #331C21
triadic
#331C2D #2D331C #1C2D33
tetradic
#331C2D #332D1C #1C3322 #1C2133
square
#331C2D #332D1C #1C3322 #1C2133
split-complementary
#331C2D #21331C #1C332D
monochromatic
#140B11 #140B11 #331C2D #5B3250 #824773

Accessibility & contrast

On white

15.62
#331C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331C2D
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C2D#FFFFFF#000000##FFFFFF
##331C2D1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C212E
Deuteranopia (green-blind)
#22252C
Tritanopia (blue-blind)
#351D22
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331c2d;
/* rgb */ color: rgb(51, 28, 45);
/* oklch */ color: oklch(26.4% 0.046 337.1);
Tailwind
colors: {
  custom: {
    50: '#6b5865',
    500: '#331c2d',
    950: '#000000',
  },
}
SCSS
$custom: #331c2d;
$custom-light: #6b5865;
$custom-dark: #000000;
JSON
{
  "hex": "#331c2d",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 45
  },
  "hsl": {
    "h": 315.652,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26409,
    "c": 0.04552,
    "h": 337.1
  },
  "luminance": 0.01724
}

Semantic roles & 50–950 ramp

primary
#331C2D
secondary
#44674D
accent
#C57C62
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060305
muted
#7A787A

Preview Lab

Preview with #331C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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