#331A2A#331A2A

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

Color values

HEX#331A2A
RGBrgb(51, 26, 42)
HSLhsl(322, 32%, 15%)
HSVhsv(322, 49%, 20%)
CMYKcmyk(0%, 49%, 17.6%, 80%)
CIE-LABlab(13.29, 15.21, -5.48)
CIE-LCHlch(13.29, 16.17, 340.20°)
OKLaboklab(25.86% 0.0447 -0.0145)
OKLCHoklch(25.86% 0.047 342)
XYZxyz(2.1526, 1.6099, 2.3874)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A2A #1A3323
analogous
#301A33 #331A2A #331A1D
triadic
#331A2A #2A331A #1A2A33
tetradic
#331A2A #33301A #1A3323 #1A1D33
square
#331A2A #33301A #1A3323 #1A1D33
split-complementary
#331A2A #1D331A #1A3330
monochromatic
#140A11 #140A11 #331A2A #5C2F4B #84436D

Accessibility & contrast

On white

15.89
#331A2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331A2A
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A2A#FFFFFF#000000##FFFFFF
##331A2A1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B202B
Deuteranopia (green-blind)
#222429
Tritanopia (blue-blind)
#361A20
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331a2a;
/* rgb */ color: rgb(51, 26, 42);
/* oklch */ color: oklch(25.9% 0.047 342.0);
Tailwind
colors: {
  custom: {
    50: '#6b5763',
    500: '#331a2a',
    950: '#000000',
  },
}
SCSS
$custom: #331a2a;
$custom-light: #6b5763;
$custom-dark: #000000;
JSON
{
  "hex": "#331a2a",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 42
  },
  "hsl": {
    "h": 321.6,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25855,
    "c": 0.04704,
    "h": 342
  },
  "luminance": 0.0161
}

Semantic roles & 50–950 ramp

primary
#331A2A
secondary
#41684F
accent
#C9855F
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#070305
muted
#7A7879

Preview Lab

Preview with #331A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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