#331C24#331C24

#331C24 is a dark, muted pink. Relative luminance 0.017; OKLCH L 26.0% C 0.038 H 357.7°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#331C24
RGBrgb(51, 28, 36)
HSLhsl(339, 29%, 15%)
HSVhsv(339, 45%, 20%)
CMYKcmyk(0%, 45.1%, 29.4%, 80%)
CIE-LABlab(13.60, 12.69, -0.65)
CIE-LCHlch(13.60, 12.70, 357.09°)
OKLaboklab(26.01% 0.0382 -0.0015)
OKLCHoklch(26.01% 0.038 357.7)
XYZxyz(2.0990, 1.6618, 1.8789)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C24 #1C332B
analogous
#331C2F #331C24 #331F1C
triadic
#331C24 #24331C #1C2433
tetradic
#331C24 #2F331C #1C332B #1F1C33
square
#331C24 #2F331C #1C332B #1F1C33
split-complementary
#331C24 #1C331F #1C2F33
monochromatic
#140B0E #140B0E #331C24 #5B3240 #82475C

Accessibility & contrast

On white

15.76
#331C24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#331C24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331C24
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C24#FFFFFF#000000##FFFFFF
##331C241.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2024
Deuteranopia (green-blind)
#252423
Tritanopia (blue-blind)
#361B1F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331c24;
/* rgb */ color: rgb(51, 28, 36);
/* oklch */ color: oklch(26.0% 0.038 357.7);
Tailwind
colors: {
  custom: {
    50: '#6b585e',
    500: '#331c24',
    950: '#000000',
  },
}
SCSS
$custom: #331c24;
$custom-light: #6b585e;
$custom-dark: #000000;
JSON
{
  "hex": "#331c24",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 36
  },
  "hsl": {
    "h": 339.13,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26012,
    "c": 0.03823,
    "h": 357.7
  },
  "luminance": 0.01662
}

Semantic roles & 50–950 ramp

primary
#331C24
secondary
#44675B
accent
#C5A362
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331C24

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

Preview Lab → · Contrast checker → · Palette generator →

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