#331E2B#331E2B

#331E2B is a dark, muted pink. Relative luminance 0.018; OKLCH L 26.7% C 0.039 H 342.3°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#331E2B
RGBrgb(51, 30, 43)
HSLhsl(323, 26%, 16%)
HSVhsv(323, 41%, 20%)
CMYKcmyk(0%, 41.2%, 15.7%, 80%)
CIE-LABlab(14.44, 12.69, -4.47)
CIE-LCHlch(14.44, 13.46, 340.59°)
OKLaboklab(26.74% 0.0372 -0.0118)
OKLCHoklch(26.74% 0.039 342.3)
XYZxyz(2.2656, 1.8069, 2.5145)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E2B #1E3326
analogous
#301E33 #331E2B #331E20
triadic
#331E2B #2B331E #1E2B33
tetradic
#331E2B #33301E #1E3326 #1E2033
square
#331E2B #33301E #1E3326 #1E2033
split-complementary
#331E2B #20331E #1E3330
monochromatic
#130B10 #130B10 #331E2B #5A354B #804B6C

Accessibility & contrast

On white

15.43
#331E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331E2B
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E2B#FFFFFF#000000##FFFFFF
##331E2B1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222B
Deuteranopia (green-blind)
#24262A
Tritanopia (blue-blind)
#361E23
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331e2b;
/* rgb */ color: rgb(51, 30, 43);
/* oklch */ color: oklch(26.7% 0.039 342.3);
Tailwind
colors: {
  custom: {
    50: '#6b5a64',
    500: '#331e2b',
    950: '#000000',
  },
}
SCSS
$custom: #331e2b;
$custom-light: #6b5a64;
$custom-dark: #000000;
JSON
{
  "hex": "#331e2b",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 43
  },
  "hsl": {
    "h": 322.857,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26739,
    "c": 0.03902,
    "h": 342.3
  },
  "luminance": 0.01807
}

Semantic roles & 50–950 ramp

primary
#331E2B
secondary
#476653
accent
#C28965
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#060305
muted
#7A7879

Preview Lab

Preview with #331E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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