#331E24#331E24

#331E24 is a dark, muted pink. Relative luminance 0.018; OKLCH L 26.4% C 0.034 H 1.1°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#331E24
RGBrgb(51, 30, 36)
HSLhsl(343, 26%, 16%)
HSVhsv(343, 41%, 20%)
CMYKcmyk(0%, 41.2%, 29.4%, 80%)
CIE-LABlab(14.17, 11.31, 0.19)
CIE-LCHlch(14.17, 11.31, 0.96°)
OKLaboklab(26.45% 0.0341 0.0007)
OKLCHoklch(26.45% 0.034 1.1)
XYZxyz(2.1480, 1.7599, 1.8953)
Luminance0.0176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E24 #1E332D
analogous
#331E2E #331E24 #33221E
triadic
#331E24 #24331E #1E2433
tetradic
#331E24 #2E331E #1E332D #221E33
square
#331E24 #2E331E #1E332D #221E33
split-complementary
#331E24 #1E3322 #1E2E33
monochromatic
#130B0E #130B0E #331E24 #5A353F #804B5A

Accessibility & contrast

On white

15.53
#331E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331E24
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E24#FFFFFF#000000##FFFFFF
##331E241.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212224
Deuteranopia (green-blind)
#262524
Tritanopia (blue-blind)
#361D20
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331e24;
/* rgb */ color: rgb(51, 30, 36);
/* oklch */ color: oklch(26.4% 0.034 1.1);
Tailwind
colors: {
  custom: {
    50: '#6b5a5e',
    500: '#331e24',
    950: '#000000',
  },
}
SCSS
$custom: #331e24;
$custom-light: #6b5a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#331e24",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 36
  },
  "hsl": {
    "h": 342.857,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26448,
    "c": 0.03411,
    "h": 1.1
  },
  "luminance": 0.0176
}

Semantic roles & 50–950 ramp

primary
#331E24
secondary
#47665D
accent
#C2A865
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331E24

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

Preview Lab → · Contrast checker → · Palette generator →

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