#331E27#331E27

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

Color values

HEX#331E27
RGBrgb(51, 30, 39)
HSLhsl(334, 26%, 16%)
HSVhsv(334, 41%, 20%)
CMYKcmyk(0%, 41.2%, 23.5%, 80%)
CIE-LABlab(14.28, 11.88, -1.82)
CIE-LCHlch(14.28, 12.02, 351.29°)
OKLaboklab(26.57% 0.0355 -0.0047)
OKLCHoklch(26.57% 0.036 352.5)
XYZxyz(2.1958, 1.7790, 2.1468)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E27 #1E332A
analogous
#331E31 #331E27 #331F1E
triadic
#331E27 #27331E #1E2733
tetradic
#331E27 #31331E #1E332A #1F1E33
square
#331E27 #31331E #1E332A #1F1E33
split-complementary
#331E27 #1E331F #1E3133
monochromatic
#130B0F #130B0F #331E27 #5A3544 #804B62

Accessibility & contrast

On white

15.49
#331E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331E27
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E27#FFFFFF#000000##FFFFFF
##331E271.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331e27;
/* rgb */ color: rgb(51, 30, 39);
/* oklch */ color: oklch(26.6% 0.036 352.5);
Tailwind
colors: {
  custom: {
    50: '#6b5a61',
    500: '#331e27',
    950: '#000000',
  },
}
SCSS
$custom: #331e27;
$custom-light: #6b5a61;
$custom-dark: #000000;
JSON
{
  "hex": "#331e27",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 334.286,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26567,
    "c": 0.03578,
    "h": 352.5
  },
  "luminance": 0.01779
}

Semantic roles & 50–950 ramp

primary
#331E27
secondary
#476659
accent
#C29B65
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060305
muted
#7A7879

Preview Lab

Preview with #331E27

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

Preview Lab → · Contrast checker → · Palette generator →

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