#331A28#331A28

#331A28 is a dark, muted pink. Relative luminance 0.016; OKLCH L 25.8% C 0.045 H 346.1°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#331A28
RGBrgb(51, 26, 40)
HSLhsl(326, 32%, 15%)
HSVhsv(326, 49%, 20%)
CMYKcmyk(0%, 49%, 21.6%, 80%)
CIE-LABlab(13.21, 14.81, -4.15)
CIE-LCHlch(13.21, 15.38, 344.35°)
OKLaboklab(25.76% 0.044 -0.0109)
OKLCHoklch(25.76% 0.045 346.1)
XYZxyz(2.1177, 1.5959, 2.2036)
Luminance0.0160 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A28 #1A3325
analogous
#321A33 #331A28 #331A1B
triadic
#331A28 #28331A #1A2833
tetradic
#331A28 #33321A #1A3325 #1A1B33
square
#331A28 #33321A #1A3325 #1A1B33
split-complementary
#331A28 #1B331A #1A3332
monochromatic
#140A10 #140A10 #331A28 #5C2F48 #844368

Accessibility & contrast

On white

15.92
#331A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331A28
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A28#FFFFFF#000000##FFFFFF
##331A281.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1F29
Deuteranopia (green-blind)
#222427
Tritanopia (blue-blind)
#361A1F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331a28;
/* rgb */ color: rgb(51, 26, 40);
/* oklch */ color: oklch(25.8% 0.045 346.1);
Tailwind
colors: {
  custom: {
    50: '#6b5761',
    500: '#331a28',
    950: '#000000',
  },
}
SCSS
$custom: #331a28;
$custom-light: #6b5761;
$custom-dark: #000000;
JSON
{
  "hex": "#331a28",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 40
  },
  "hsl": {
    "h": 326.4,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25763,
    "c": 0.04529,
    "h": 346.1
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#331A28
secondary
#416852
accent
#C98E5F
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070305
muted
#7A7879

Preview Lab

Preview with #331A28

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

Preview Lab → · Contrast checker → · Palette generator →

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