#331C2B#331C2B

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

Color values

HEX#331C2B
RGBrgb(51, 28, 43)
HSLhsl(321, 29%, 15%)
HSVhsv(321, 45%, 20%)
CMYKcmyk(0%, 45.1%, 15.7%, 80%)
CIE-LABlab(13.88, 14.06, -5.32)
CIE-LCHlch(13.88, 15.03, 339.29°)
OKLaboklab(26.31% 0.0412 -0.0141)
OKLCHoklch(26.31% 0.044 341.1)
XYZxyz(2.2165, 1.7089, 2.4981)
Luminance0.0171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C2B #1C3324
analogous
#2F1C33 #331C2B #331C1F
triadic
#331C2B #2B331C #1C2B33
tetradic
#331C2B #332F1C #1C3324 #1C1F33
square
#331C2B #332F1C #1C3324 #1C1F33
split-complementary
#331C2B #1F331C #1C332F
monochromatic
#140B11 #140B11 #331C2B #5B324C #82476E

Accessibility & contrast

On white

15.65
#331C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331C2B
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C2B#FFFFFF#000000##FFFFFF
##331C2B1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D212C
Deuteranopia (green-blind)
#23252A
Tritanopia (blue-blind)
#361C21
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331c2b;
/* rgb */ color: rgb(51, 28, 43);
/* oklch */ color: oklch(26.3% 0.044 341.1);
Tailwind
colors: {
  custom: {
    50: '#6b5864',
    500: '#331c2b',
    950: '#000000',
  },
}
SCSS
$custom: #331c2b;
$custom-light: #6b5864;
$custom-dark: #000000;
JSON
{
  "hex": "#331c2b",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 43
  },
  "hsl": {
    "h": 320.87,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26314,
    "c": 0.04352,
    "h": 341.1
  },
  "luminance": 0.01709
}

Semantic roles & 50–950 ramp

primary
#331C2B
secondary
#446750
accent
#C58562
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#060305
muted
#7A7879

Preview Lab

Preview with #331C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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