#331B29#331B29

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

Color values

HEX#331B29
RGBrgb(51, 27, 41)
HSLhsl(325, 31%, 15%)
HSVhsv(325, 47%, 20%)
CMYKcmyk(0%, 47.1%, 19.6%, 80%)
CIE-LABlab(13.52, 14.33, -4.41)
CIE-LCHlch(13.52, 14.99, 342.91°)
OKLaboklab(26.01% 0.0424 -0.0116)
OKLCHoklch(26.01% 0.044 344.7)
XYZxyz(2.1574, 1.6479, 2.3018)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B29 #1B3325
analogous
#311B33 #331B29 #331B1D
triadic
#331B29 #29331B #1B2933
tetradic
#331B29 #33311B #1B3325 #1B1D33
square
#331B29 #33311B #1B3325 #1B1D33
split-complementary
#331B29 #1D331B #1B3331
monochromatic
#140B10 #140B10 #331B29 #5B3049 #834569

Accessibility & contrast

On white

15.79
#331B29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#331B29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331B29
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B29#FFFFFF#000000##FFFFFF
##331B291.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D202A
Deuteranopia (green-blind)
#232428
Tritanopia (blue-blind)
#361B20
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331b29;
/* rgb */ color: rgb(51, 27, 41);
/* oklch */ color: oklch(26.0% 0.044 344.7);
Tailwind
colors: {
  custom: {
    50: '#6b5862',
    500: '#331b29',
    950: '#000000',
  },
}
SCSS
$custom: #331b29;
$custom-light: #6b5862;
$custom-dark: #000000;
JSON
{
  "hex": "#331b29",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 41
  },
  "hsl": {
    "h": 325,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26014,
    "c": 0.04393,
    "h": 344.7
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#331B29
secondary
#436752
accent
#C78B61
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#070305
muted
#7A7879

Preview Lab

Preview with #331B29

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

Preview Lab → · Contrast checker → · Palette generator →

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