#331A21#331A21

#331A21 is a dark, muted pink. Relative luminance 0.016; OKLCH L 25.5% C 0.041 H 2.4°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#331A21
RGBrgb(51, 26, 33)
HSLhsl(343, 32%, 15%)
HSVhsv(343, 49%, 20%)
CMYKcmyk(0%, 49%, 35.3%, 80%)
CIE-LABlab(12.94, 13.51, 0.58)
CIE-LCHlch(12.94, 13.53, 2.45°)
OKLaboklab(25.47% 0.0409 0.0017)
OKLCHoklch(25.47% 0.041 2.4)
XYZxyz(2.0092, 1.5526, 1.6324)
Luminance0.0155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A21 #1A332C
analogous
#331A2D #331A21 #331F1A
triadic
#331A21 #21331A #1A2133
tetradic
#331A21 #2D331A #1A332C #1F1A33
square
#331A21 #2D331A #1A332C #1F1A33
split-complementary
#331A21 #1A331F #1A2D33
monochromatic
#140A0D #140A0D #331A21 #5C2F3B #844355

Accessibility & contrast

On white

16.03
#331A21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331A21
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A21#FFFFFF#000000##FFFFFF
##331A211.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1F21
Deuteranopia (green-blind)
#242320
Tritanopia (blue-blind)
#37181C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #331a21;
/* rgb */ color: rgb(51, 26, 33);
/* oklch */ color: oklch(25.5% 0.041 2.4);
Tailwind
colors: {
  custom: {
    50: '#6c575c',
    500: '#331a21',
    950: '#000000',
  },
}
SCSS
$custom: #331a21;
$custom-light: #6c575c;
$custom-dark: #000000;
JSON
{
  "hex": "#331a21",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 33
  },
  "hsl": {
    "h": 343.2,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25472,
    "c": 0.04095,
    "h": 2.4
  },
  "luminance": 0.01552
}

Semantic roles & 50–950 ramp

primary
#331A21
secondary
#41685D
accent
#C9AB5F
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331A21

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

Preview Lab → · Contrast checker → · Palette generator →

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