#331E28#331E28

#331E28 is a dark, muted pink. Relative luminance 0.018; OKLCH L 26.6% C 0.036 H 349.8°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#331E28
RGBrgb(51, 30, 40)
HSLhsl(331, 26%, 16%)
HSVhsv(331, 41%, 20%)
CMYKcmyk(0%, 41.2%, 21.6%, 80%)
CIE-LABlab(14.32, 12.07, -2.49)
CIE-LCHlch(14.32, 12.33, 348.36°)
OKLaboklab(26.61% 0.0359 -0.0064)
OKLCHoklch(26.61% 0.036 349.8)
XYZxyz(2.2125, 1.7857, 2.2352)
Luminance0.0179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E28 #1E3329
analogous
#331E32 #331E28 #331E1E
triadic
#331E28 #28331E #1E2833
tetradic
#331E28 #32331E #1E3329 #1E1E33
square
#331E28 #32331E #1E3329 #1E1E33
split-complementary
#331E28 #1E331E #1E3233
monochromatic
#130B0F #130B0F #331E28 #5A3546 #804B64

Accessibility & contrast

On white

15.47
#331E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331E28
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E28#FFFFFF#000000##FFFFFF
##331E281.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331e28;
/* rgb */ color: rgb(51, 30, 40);
/* oklch */ color: oklch(26.6% 0.036 349.8);
Tailwind
colors: {
  custom: {
    50: '#6b5a61',
    500: '#331e28',
    950: '#000000',
  },
}
SCSS
$custom: #331e28;
$custom-light: #6b5a61;
$custom-dark: #000000;
JSON
{
  "hex": "#331e28",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 40
  },
  "hsl": {
    "h": 331.429,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26609,
    "c": 0.03648,
    "h": 349.8
  },
  "luminance": 0.01786
}

Semantic roles & 50–950 ramp

primary
#331E28
secondary
#476657
accent
#C29665
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060305
muted
#7A7879

Preview Lab

Preview with #331E28

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

Preview Lab → · Contrast checker → · Palette generator →

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