#331224#331224

#331224 is a very dark, muted pink. Relative luminance 0.013; OKLCH L 24.1% C 0.059 H 348.6°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#331224
RGBrgb(51, 18, 36)
HSLhsl(327, 48%, 14%)
HSVhsv(327, 65%, 20%)
CMYKcmyk(0%, 64.7%, 29.4%, 80%)
CIE-LABlab(11.02, 19.23, -4.48)
CIE-LCHlch(11.02, 19.74, 346.89°)
OKLaboklab(24.07% 0.0579 -0.0117)
OKLCHoklch(24.07% 0.059 348.6)
XYZxyz(1.9000, 1.2640, 1.8126)
Luminance0.0126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331224 #123321
analogous
#311233 #331224 #331213
triadic
#331224 #243312 #122433
tetradic
#331224 #333112 #123321 #121333
square
#331224 #333112 #123321 #121333
split-complementary
#331224 #133312 #123331
monochromatic
#170810 #170810 #331224 #602244 #8D3264

Accessibility & contrast

On white

16.76
#331224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#331224 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331224
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331224#FFFFFF#000000##FFFFFF
##3312241.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161A25
Deuteranopia (green-blind)
#1F2023
Tritanopia (blue-blind)
#371119
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #331224;
/* rgb */ color: rgb(51, 18, 36);
/* oklch */ color: oklch(24.1% 0.059 348.6);
Tailwind
colors: {
  custom: {
    50: '#6c515e',
    500: '#331224',
    950: '#000000',
  },
}
SCSS
$custom: #331224;
$custom-light: #6c515e;
$custom-dark: #000000;
JSON
{
  "hex": "#331224",
  "rgb": {
    "r": 51,
    "g": 18,
    "b": 36
  },
  "hsl": {
    "h": 327.273,
    "s": 47.826,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24066,
    "c": 0.0591,
    "h": 348.6
  },
  "luminance": 0.01264
}

Semantic roles & 50–950 ramp

primary
#331224
secondary
#356B4E
accent
#D78E50
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #331224

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

Preview Lab → · Contrast checker → · Palette generator →

#331224 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva