#331A26#331A26

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

Color values

HEX#331A26
RGBrgb(51, 26, 38)
HSLhsl(331, 32%, 15%)
HSVhsv(331, 49%, 20%)
CMYKcmyk(0%, 49%, 25.5%, 80%)
CIE-LABlab(13.12, 14.42, -2.81)
CIE-LCHlch(13.12, 14.69, 348.98°)
OKLaboklab(25.67% 0.0431 -0.0073)
OKLCHoklch(25.67% 0.044 350.4)
XYZxyz(2.0845, 1.5827, 2.0290)
Luminance0.0158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A26 #1A3327
analogous
#331A33 #331A26 #331A1A
triadic
#331A26 #26331A #1A2633
tetradic
#331A26 #33331A #1A3327 #1A1A33
square
#331A26 #33331A #1A3327 #1A1A33
split-complementary
#331A26 #1A331A #1A3333
monochromatic
#140A0F #140A0F #331A26 #5C2F44 #844362

Accessibility & contrast

On white

15.95
#331A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331A26
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A26#FFFFFF#000000##FFFFFF
##331A261.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1F26
Deuteranopia (green-blind)
#232325
Tritanopia (blue-blind)
#36191E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331a26;
/* rgb */ color: rgb(51, 26, 38);
/* oklch */ color: oklch(25.7% 0.044 350.4);
Tailwind
colors: {
  custom: {
    50: '#6b5760',
    500: '#331a26',
    950: '#000000',
  },
}
SCSS
$custom: #331a26;
$custom-light: #6b5760;
$custom-dark: #000000;
JSON
{
  "hex": "#331a26",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 38
  },
  "hsl": {
    "h": 331.2,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25674,
    "c": 0.04375,
    "h": 350.4
  },
  "luminance": 0.01583
}

Semantic roles & 50–950 ramp

primary
#331A26
secondary
#416855
accent
#C9965F
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331A26

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

Preview Lab → · Contrast checker → · Palette generator →

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