#331C2F#331C2F

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

Color values

HEX#331C2F
RGBrgb(51, 28, 47)
HSLhsl(310, 29%, 15%)
HSVhsv(310, 45%, 20%)
CMYKcmyk(0%, 45.1%, 7.8%, 80%)
CIE-LABlab(14.06, 14.93, -7.93)
CIE-LCHlch(14.06, 16.91, 332.02°)
OKLaboklab(26.51% 0.0426 -0.0214)
OKLCHoklch(26.51% 0.048 333.4)
XYZxyz(2.2936, 1.7397, 2.9038)
Luminance0.0174 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C2F #1C3320
analogous
#2B1C33 #331C2F #331C23
triadic
#331C2F #2F331C #1C2F33
tetradic
#331C2F #332B1C #1C3320 #1C2333
square
#331C2F #332B1C #1C3320 #1C2333
split-complementary
#331C2F #23331C #1C332B
monochromatic
#140B12 #140B12 #331C2F #5B3253 #824778

Accessibility & contrast

On white

15.58
#331C2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331C2F
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C2F#FFFFFF#000000##FFFFFF
##331C2F1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2230
Deuteranopia (green-blind)
#22252E
Tritanopia (blue-blind)
#351D23
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331c2f;
/* rgb */ color: rgb(51, 28, 47);
/* oklch */ color: oklch(26.5% 0.048 333.4);
Tailwind
colors: {
  custom: {
    50: '#6b5867',
    500: '#331c2f',
    950: '#000000',
  },
}
SCSS
$custom: #331c2f;
$custom-light: #6b5867;
$custom-dark: #000000;
JSON
{
  "hex": "#331c2f",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 47
  },
  "hsl": {
    "h": 310.435,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26508,
    "c": 0.04769,
    "h": 333.4
  },
  "luminance": 0.0174
}

Semantic roles & 50–950 ramp

primary
#331C2F
secondary
#44674A
accent
#C57462
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #331C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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