#331A27#331A27

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

Color values

HEX#331A27
RGBrgb(51, 26, 39)
HSLhsl(329, 32%, 15%)
HSVhsv(329, 49%, 20%)
CMYKcmyk(0%, 49%, 23.5%, 80%)
CIE-LABlab(13.16, 14.61, -3.48)
CIE-LCHlch(13.16, 15.02, 346.60°)
OKLaboklab(25.72% 0.0436 -0.0091)
OKLCHoklch(25.72% 0.045 348.2)
XYZxyz(2.1009, 1.5892, 2.1152)
Luminance0.0159 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A27 #1A3326
analogous
#331A33 #331A27 #331A1A
triadic
#331A27 #27331A #1A2733
tetradic
#331A27 #33331A #1A3326 #1A1A33
square
#331A27 #33331A #1A3326 #1A1A33
split-complementary
#331A27 #1A331A #1A3333
monochromatic
#140A0F #140A0F #331A27 #5C2F46 #844365

Accessibility & contrast

On white

15.94
#331A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331A27
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A27#FFFFFF#000000##FFFFFF
##331A271.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1F27
Deuteranopia (green-blind)
#232326
Tritanopia (blue-blind)
#36191F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331a27;
/* rgb */ color: rgb(51, 26, 39);
/* oklch */ color: oklch(25.7% 0.044 348.2);
Tailwind
colors: {
  custom: {
    50: '#6b5761',
    500: '#331a27',
    950: '#000000',
  },
}
SCSS
$custom: #331a27;
$custom-light: #6b5761;
$custom-dark: #000000;
JSON
{
  "hex": "#331a27",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 39
  },
  "hsl": {
    "h": 328.8,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25718,
    "c": 0.0445,
    "h": 348.2
  },
  "luminance": 0.01589
}

Semantic roles & 50–950 ramp

primary
#331A27
secondary
#416854
accent
#C9925F
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070305
muted
#7A7879

Preview Lab

Preview with #331A27

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

Preview Lab → · Contrast checker → · Palette generator →

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