#331E2E#331E2E

#331E2E is a dark, muted pink. Relative luminance 0.018; OKLCH L 26.9% C 0.042 H 335.8°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#331E2E
RGBrgb(51, 30, 46)
HSLhsl(314, 26%, 16%)
HSVhsv(314, 41%, 20%)
CMYKcmyk(0%, 41.2%, 9.8%, 80%)
CIE-LABlab(14.57, 13.34, -6.44)
CIE-LCHlch(14.57, 14.81, 334.24°)
OKLaboklab(26.88% 0.0384 -0.0172)
OKLCHoklch(26.88% 0.042 335.8)
XYZxyz(2.3226, 1.8297, 2.8151)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E2E #1E3323
analogous
#2D1E33 #331E2E #331E23
triadic
#331E2E #2E331E #1E2E33
tetradic
#331E2E #332D1E #1E3323 #1E2333
square
#331E2E #332D1E #1E3323 #1E2333
split-complementary
#331E2E #23331E #1E332D
monochromatic
#130B11 #130B11 #331E2E #5A3551 #804B74

Accessibility & contrast

On white

15.37
#331E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#331E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331E2E
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E2E#FFFFFF#000000##FFFFFF
##331E2E1.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E232F
Deuteranopia (green-blind)
#23262D
Tritanopia (blue-blind)
#351F24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #331e2e;
/* rgb */ color: rgb(51, 30, 46);
/* oklch */ color: oklch(26.9% 0.042 335.8);
Tailwind
colors: {
  custom: {
    50: '#6b5a66',
    500: '#331e2e',
    950: '#000000',
  },
}
SCSS
$custom: #331e2e;
$custom-light: #6b5a66;
$custom-dark: #000000;
JSON
{
  "hex": "#331e2e",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 46
  },
  "hsl": {
    "h": 314.286,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26879,
    "c": 0.04206,
    "h": 335.8
  },
  "luminance": 0.0183
}

Semantic roles & 50–950 ramp

primary
#331E2E
secondary
#47664E
accent
#C27C65
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #331E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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