#331C26#331C26

#331C26 is a dark, muted pink. Relative luminance 0.017; OKLCH L 26.1% C 0.039 H 352.6°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#331C26
RGBrgb(51, 28, 38)
HSLhsl(334, 29%, 15%)
HSVhsv(334, 45%, 20%)
CMYKcmyk(0%, 45.1%, 25.5%, 80%)
CIE-LABlab(13.68, 13.06, -1.99)
CIE-LCHlch(13.68, 13.21, 351.33°)
OKLaboklab(26.09% 0.0391 -0.0051)
OKLCHoklch(26.09% 0.039 352.6)
XYZxyz(2.1304, 1.6744, 2.0443)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C26 #1C3329
analogous
#331C31 #331C26 #331D1C
triadic
#331C26 #26331C #1C2633
tetradic
#331C26 #31331C #1C3329 #1D1C33
square
#331C26 #31331C #1C3329 #1D1C33
split-complementary
#331C26 #1C331D #1C3133
monochromatic
#140B0F #140B0F #331C26 #5B3243 #824761

Accessibility & contrast

On white

15.73
#331C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331C26
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C26#FFFFFF#000000##FFFFFF
##331C261.0015.731.3315.73
#FFFFFF15.731.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2126
Deuteranopia (green-blind)
#242425
Tritanopia (blue-blind)
#361B20
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331c26;
/* rgb */ color: rgb(51, 28, 38);
/* oklch */ color: oklch(26.1% 0.039 352.6);
Tailwind
colors: {
  custom: {
    50: '#6b5860',
    500: '#331c26',
    950: '#000000',
  },
}
SCSS
$custom: #331c26;
$custom-light: #6b5860;
$custom-dark: #000000;
JSON
{
  "hex": "#331c26",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 38
  },
  "hsl": {
    "h": 333.913,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26093,
    "c": 0.03943,
    "h": 352.6
  },
  "luminance": 0.01674
}

Semantic roles & 50–950 ramp

primary
#331C26
secondary
#446758
accent
#C59A62
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331C26

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

Preview Lab → · Contrast checker → · Palette generator →

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