#331E25#331E25

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

Color values

HEX#331E25
RGBrgb(51, 30, 37)
HSLhsl(340, 26%, 16%)
HSVhsv(340, 41%, 20%)
CMYKcmyk(0%, 41.2%, 27.5%, 80%)
CIE-LABlab(14.21, 11.49, -0.48)
CIE-LCHlch(14.21, 11.50, 357.60°)
OKLaboklab(26.49% 0.0346 -0.0011)
OKLCHoklch(26.49% 0.035 358.2)
XYZxyz(2.1635, 1.7661, 1.9768)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E25 #1E332C
analogous
#331E2F #331E25 #33211E
triadic
#331E25 #25331E #1E2533
tetradic
#331E25 #2F331E #1E332C #211E33
square
#331E25 #2F331E #1E332C #211E33
split-complementary
#331E25 #1E3321 #1E2F33
monochromatic
#130B0E #130B0E #331E25 #5A3541 #804B5D

Accessibility & contrast

On white

15.52
#331E25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331E25
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E25#FFFFFF#000000##FFFFFF
##331E251.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331e25;
/* rgb */ color: rgb(51, 30, 37);
/* oklch */ color: oklch(26.5% 0.035 358.2);
Tailwind
colors: {
  custom: {
    50: '#6b5a5f',
    500: '#331e25',
    950: '#000000',
  },
}
SCSS
$custom: #331e25;
$custom-light: #6b5a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#331e25",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 37
  },
  "hsl": {
    "h": 340,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26487,
    "c": 0.03458,
    "h": 358.2
  },
  "luminance": 0.01766
}

Semantic roles & 50–950 ramp

primary
#331E25
secondary
#47665C
accent
#C2A365
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060304
muted
#7A7879

Preview Lab

Preview with #331E25

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

Preview Lab → · Contrast checker → · Palette generator →

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