#331A22#331A22

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

Color values

HEX#331A22
RGBrgb(51, 26, 34)
HSLhsl(341, 32%, 15%)
HSVhsv(341, 49%, 20%)
CMYKcmyk(0%, 49%, 33.3%, 80%)
CIE-LABlab(12.97, 13.69, -0.10)
CIE-LCHlch(12.97, 13.69, 359.56°)
OKLaboklab(25.51% 0.0414 -0.0001)
OKLCHoklch(25.51% 0.041 359.9)
XYZxyz(2.0234, 1.5582, 1.7073)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A22 #1A332B
analogous
#331A2E #331A22 #331E1A
triadic
#331A22 #22331A #1A2233
tetradic
#331A22 #2E331A #1A332B #1E1A33
square
#331A22 #2E331A #1A332B #1E1A33
split-complementary
#331A22 #1A331E #1A2E33
monochromatic
#140A0E #140A0E #331A22 #5C2F3D #844358

Accessibility & contrast

On white

16.01
#331A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331A22
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A22#FFFFFF#000000##FFFFFF
##331A221.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1F22
Deuteranopia (green-blind)
#242321
Tritanopia (blue-blind)
#37181D
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #331a22;
/* rgb */ color: rgb(51, 26, 34);
/* oklch */ color: oklch(25.5% 0.041 359.9);
Tailwind
colors: {
  custom: {
    50: '#6c575c',
    500: '#331a22',
    950: '#000000',
  },
}
SCSS
$custom: #331a22;
$custom-light: #6c575c;
$custom-dark: #000000;
JSON
{
  "hex": "#331a22",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 34
  },
  "hsl": {
    "h": 340.8,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2551,
    "c": 0.04138,
    "h": 359.9
  },
  "luminance": 0.01558
}

Semantic roles & 50–950 ramp

primary
#331A22
secondary
#41685B
accent
#C9A75F
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331A22

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

Preview Lab → · Contrast checker → · Palette generator →

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