#331E2A#331E2A

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

Color values

HEX#331E2A
RGBrgb(51, 30, 42)
HSLhsl(326, 26%, 16%)
HSVhsv(326, 41%, 20%)
CMYKcmyk(0%, 41.2%, 17.6%, 80%)
CIE-LABlab(14.40, 12.48, -3.81)
CIE-LCHlch(14.40, 13.05, 343.01°)
OKLaboklab(26.7% 0.0368 -0.01)
OKLCHoklch(26.7% 0.038 344.7)
XYZxyz(2.2474, 1.7996, 2.4190)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E2A #1E3327
analogous
#311E33 #331E2A #331E1F
triadic
#331E2A #2A331E #1E2A33
tetradic
#331E2A #33311E #1E3327 #1E1F33
square
#331E2A #33311E #1E3327 #1E1F33
split-complementary
#331E2A #1F331E #1E3331
monochromatic
#130B10 #130B10 #331E2A #5A354A #804B69

Accessibility & contrast

On white

15.44
#331E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331E2A
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E2A#FFFFFF#000000##FFFFFF
##331E2A1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222A
Deuteranopia (green-blind)
#242629
Tritanopia (blue-blind)
#361E22
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331e2a;
/* rgb */ color: rgb(51, 30, 42);
/* oklch */ color: oklch(26.7% 0.038 344.7);
Tailwind
colors: {
  custom: {
    50: '#6b5a63',
    500: '#331e2a',
    950: '#000000',
  },
}
SCSS
$custom: #331e2a;
$custom-light: #6b5a63;
$custom-dark: #000000;
JSON
{
  "hex": "#331e2a",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 42
  },
  "hsl": {
    "h": 325.714,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26695,
    "c": 0.03812,
    "h": 344.7
  },
  "luminance": 0.018
}

Semantic roles & 50–950 ramp

primary
#331E2A
secondary
#476654
accent
#C28D65
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#060305
muted
#7A7879

Preview Lab

Preview with #331E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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