#331E2D#331E2D

#331E2D is a dark, muted pink. Relative luminance 0.018; OKLCH L 26.8% C 0.041 H 337.9°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#331E2D
RGBrgb(51, 30, 45)
HSLhsl(317, 26%, 16%)
HSVhsv(317, 41%, 20%)
CMYKcmyk(0%, 41.2%, 11.8%, 80%)
CIE-LABlab(14.52, 13.12, -5.79)
CIE-LCHlch(14.52, 14.34, 336.21°)
OKLaboklab(26.83% 0.038 -0.0154)
OKLCHoklch(26.83% 0.041 337.9)
XYZxyz(2.3032, 1.8219, 2.7125)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E2D #1E3324
analogous
#2E1E33 #331E2D #331E22
triadic
#331E2D #2D331E #1E2D33
tetradic
#331E2D #332E1E #1E3324 #1E2233
square
#331E2D #332E1E #1E3324 #1E2233
split-complementary
#331E2D #22331E #1E332E
monochromatic
#130B11 #130B11 #331E2D #5A354F #804B71

Accessibility & contrast

On white

15.39
#331E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#331E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331E2D
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E2D#FFFFFF#000000##FFFFFF
##331E2D1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E232E
Deuteranopia (green-blind)
#24262C
Tritanopia (blue-blind)
#351F23
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #331e2d;
/* rgb */ color: rgb(51, 30, 45);
/* oklch */ color: oklch(26.8% 0.041 337.9);
Tailwind
colors: {
  custom: {
    50: '#6b5a65',
    500: '#331e2d',
    950: '#000000',
  },
}
SCSS
$custom: #331e2d;
$custom-light: #6b5a65;
$custom-dark: #000000;
JSON
{
  "hex": "#331e2d",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 45
  },
  "hsl": {
    "h": 317.143,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26831,
    "c": 0.04099,
    "h": 337.9
  },
  "luminance": 0.01822
}

Semantic roles & 50–950 ramp

primary
#331E2D
secondary
#476650
accent
#C28065
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060305
muted
#7A787A

Preview Lab

Preview with #331E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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