#331B26#331B26

#331B26 is a dark, muted pink. Relative luminance 0.016; OKLCH L 25.9% C 0.042 H 351.4°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#331B26
RGBrgb(51, 27, 38)
HSLhsl(333, 31%, 15%)
HSVhsv(333, 47%, 20%)
CMYKcmyk(0%, 47.1%, 25.5%, 80%)
CIE-LABlab(13.40, 13.74, -2.40)
CIE-LCHlch(13.40, 13.95, 350.08°)
OKLaboklab(25.88% 0.0411 -0.0062)
OKLCHoklch(25.88% 0.042 351.4)
XYZxyz(2.1071, 1.6278, 2.0366)
Luminance0.0163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B26 #1B3328
analogous
#331B32 #331B26 #331C1B
triadic
#331B26 #26331B #1B2633
tetradic
#331B26 #32331B #1B3328 #1C1B33
square
#331B26 #32331B #1B3328 #1C1B33
split-complementary
#331B26 #1B331C #1B3233
monochromatic
#140B0F #140B0F #331B26 #5B3044 #834562

Accessibility & contrast

On white

15.84
#331B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331B26
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B26#FFFFFF#000000##FFFFFF
##331B261.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2026
Deuteranopia (green-blind)
#232425
Tritanopia (blue-blind)
#361A1F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331b26;
/* rgb */ color: rgb(51, 27, 38);
/* oklch */ color: oklch(25.9% 0.042 351.4);
Tailwind
colors: {
  custom: {
    50: '#6b5860',
    500: '#331b26',
    950: '#000000',
  },
}
SCSS
$custom: #331b26;
$custom-light: #6b5860;
$custom-dark: #000000;
JSON
{
  "hex": "#331b26",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 38
  },
  "hsl": {
    "h": 332.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25882,
    "c": 0.04158,
    "h": 351.4
  },
  "luminance": 0.01628
}

Semantic roles & 50–950 ramp

primary
#331B26
secondary
#436756
accent
#C79861
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331B26

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

Preview Lab → · Contrast checker → · Palette generator →

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