#331A24#331A24

#331A24 is a dark, muted pink. Relative luminance 0.016; OKLCH L 25.6% C 0.042 H 355.0°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#331A24
RGBrgb(51, 26, 36)
HSLhsl(336, 32%, 15%)
HSVhsv(336, 49%, 20%)
CMYKcmyk(0%, 49%, 29.4%, 80%)
CIE-LABlab(13.05, 14.05, -1.46)
CIE-LCHlch(13.05, 14.12, 354.06°)
OKLaboklab(25.59% 0.0423 -0.0037)
OKLCHoklch(25.59% 0.042 355)
XYZxyz(2.0531, 1.5701, 1.8636)
Luminance0.0157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A24 #1A3329
analogous
#331A31 #331A24 #331C1A
triadic
#331A24 #24331A #1A2433
tetradic
#331A24 #31331A #1A3329 #1C1A33
square
#331A24 #31331A #1A3329 #1C1A33
split-complementary
#331A24 #1A331C #1A3133
monochromatic
#140A0E #140A0E #331A24 #5C2F41 #84435D

Accessibility & contrast

On white

15.98
#331A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#331A24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331A24
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A24#FFFFFF#000000##FFFFFF
##331A241.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1F24
Deuteranopia (green-blind)
#232323
Tritanopia (blue-blind)
#37191E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331a24;
/* rgb */ color: rgb(51, 26, 36);
/* oklch */ color: oklch(25.6% 0.042 355.0);
Tailwind
colors: {
  custom: {
    50: '#6b575e',
    500: '#331a24',
    950: '#000000',
  },
}
SCSS
$custom: #331a24;
$custom-light: #6b575e;
$custom-dark: #000000;
JSON
{
  "hex": "#331a24",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 36
  },
  "hsl": {
    "h": 336,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2559,
    "c": 0.04244,
    "h": 355
  },
  "luminance": 0.0157
}

Semantic roles & 50–950 ramp

primary
#331A24
secondary
#416858
accent
#C99E5F
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331A24

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

Preview Lab → · Contrast checker → · Palette generator →

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