#331A2C#331A2C

#331A2C is a dark, muted pink. Relative luminance 0.016; OKLCH L 26.0% C 0.049 H 338.2°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#331A2C
RGBrgb(51, 26, 44)
HSLhsl(317, 32%, 15%)
HSVhsv(317, 49%, 20%)
CMYKcmyk(0%, 49%, 13.7%, 80%)
CIE-LABlab(13.38, 15.63, -6.80)
CIE-LCHlch(13.38, 17.04, 336.50°)
OKLaboklab(25.95% 0.0455 -0.0182)
OKLCHoklch(25.95% 0.049 338.2)
XYZxyz(2.1893, 1.6246, 2.5806)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A2C #1A3321
analogous
#2D1A33 #331A2C #331A1F
triadic
#331A2C #2C331A #1A2C33
tetradic
#331A2C #332D1A #1A3321 #1A1F33
square
#331A2C #332D1A #1A3321 #1A1F33
split-complementary
#331A2C #1F331A #1A332D
monochromatic
#140A11 #140A11 #331A2C #5C2F4F #844372

Accessibility & contrast

On white

15.85
#331A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331A2C
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A2C#FFFFFF#000000##FFFFFF
##331A2C1.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B202D
Deuteranopia (green-blind)
#21242B
Tritanopia (blue-blind)
#361B21
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331a2c;
/* rgb */ color: rgb(51, 26, 44);
/* oklch */ color: oklch(26.0% 0.049 338.2);
Tailwind
colors: {
  custom: {
    50: '#6b5765',
    500: '#331a2c',
    950: '#000000',
  },
}
SCSS
$custom: #331a2c;
$custom-light: #6b5765;
$custom-dark: #000000;
JSON
{
  "hex": "#331a2c",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 44
  },
  "hsl": {
    "h": 316.8,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25951,
    "c": 0.04898,
    "h": 338.2
  },
  "luminance": 0.01624
}

Semantic roles & 50–950 ramp

primary
#331A2C
secondary
#41684C
accent
#C97D5F
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#070305
muted
#7A787A

Preview Lab

Preview with #331A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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