#331E26#331E26

#331E26 is a dark, muted pink. Relative luminance 0.018; OKLCH L 26.5% C 0.035 H 355.3°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#331E26
RGBrgb(51, 30, 38)
HSLhsl(337, 26%, 16%)
HSVhsv(337, 41%, 20%)
CMYKcmyk(0%, 41.2%, 25.5%, 80%)
CIE-LABlab(14.24, 11.68, -1.15)
CIE-LCHlch(14.24, 11.74, 354.36°)
OKLaboklab(26.53% 0.035 -0.0029)
OKLCHoklch(26.53% 0.035 355.3)
XYZxyz(2.1794, 1.7724, 2.0607)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E26 #1E332B
analogous
#331E30 #331E26 #33201E
triadic
#331E26 #26331E #1E2633
tetradic
#331E26 #30331E #1E332B #201E33
square
#331E26 #30331E #1E332B #201E33
split-complementary
#331E26 #1E3320 #1E3033
monochromatic
#130B0E #130B0E #331E26 #5A3543 #804B5F

Accessibility & contrast

On white

15.51
#331E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331E26
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E26#FFFFFF#000000##FFFFFF
##331E261.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202226
Deuteranopia (green-blind)
#252526
Tritanopia (blue-blind)
#361D21
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #331e26;
/* rgb */ color: rgb(51, 30, 38);
/* oklch */ color: oklch(26.5% 0.035 355.3);
Tailwind
colors: {
  custom: {
    50: '#6b5a60',
    500: '#331e26',
    950: '#000000',
  },
}
SCSS
$custom: #331e26;
$custom-light: #6b5a60;
$custom-dark: #000000;
JSON
{
  "hex": "#331e26",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 38
  },
  "hsl": {
    "h": 337.143,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26527,
    "c": 0.03514,
    "h": 355.3
  },
  "luminance": 0.01772
}

Semantic roles & 50–950 ramp

primary
#331E26
secondary
#47665A
accent
#C29F65
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060304
muted
#7A7879

Preview Lab

Preview with #331E26

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

Preview Lab → · Contrast checker → · Palette generator →

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