#331B22#331B22

#331B22 is a dark, muted pink. Relative luminance 0.016; OKLCH L 25.7% C 0.039 H 1.4°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#331B22
RGBrgb(51, 27, 34)
HSLhsl(343, 31%, 15%)
HSVhsv(343, 47%, 20%)
CMYKcmyk(0%, 47.1%, 33.3%, 80%)
CIE-LABlab(13.25, 13.01, 0.30)
CIE-LCHlch(13.25, 13.01, 1.32°)
OKLaboklab(25.72% 0.0393 0.001)
OKLCHoklch(25.72% 0.039 1.4)
XYZxyz(2.0460, 1.6033, 1.7148)
Luminance0.0160 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B22 #1B332C
analogous
#331B2E #331B22 #33201B
triadic
#331B22 #22331B #1B2233
tetradic
#331B22 #2E331B #1B332C #201B33
square
#331B22 #2E331B #1B332C #201B33
split-complementary
#331B22 #1B3320 #1B2E33
monochromatic
#140B0D #140B0D #331B22 #5B303D #834557

Accessibility & contrast

On white

15.90
#331B22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#331B22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331B22
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B22#FFFFFF#000000##FFFFFF
##331B221.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1F22
Deuteranopia (green-blind)
#242421
Tritanopia (blue-blind)
#37191D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331b22;
/* rgb */ color: rgb(51, 27, 34);
/* oklch */ color: oklch(25.7% 0.039 1.4);
Tailwind
colors: {
  custom: {
    50: '#6b575c',
    500: '#331b22',
    950: '#000000',
  },
}
SCSS
$custom: #331b22;
$custom-light: #6b575c;
$custom-dark: #000000;
JSON
{
  "hex": "#331b22",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 34
  },
  "hsl": {
    "h": 342.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25721,
    "c": 0.03934,
    "h": 1.4
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#331B22
secondary
#43675D
accent
#C7A961
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331B22

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

Preview Lab → · Contrast checker → · Palette generator →

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