#331B28#331B28

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

Color values

HEX#331B28
RGBrgb(51, 27, 40)
HSLhsl(328, 31%, 15%)
HSVhsv(328, 47%, 20%)
CMYKcmyk(0%, 47.1%, 21.6%, 80%)
CIE-LABlab(13.48, 14.13, -3.74)
CIE-LCHlch(13.48, 14.62, 345.17°)
OKLaboklab(25.97% 0.042 -0.0098)
OKLCHoklch(25.97% 0.043 346.8)
XYZxyz(2.1402, 1.6410, 2.2111)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B28 #1B3326
analogous
#321B33 #331B28 #331B1C
triadic
#331B28 #28331B #1B2833
tetradic
#331B28 #33321B #1B3326 #1B1C33
square
#331B28 #33321B #1B3326 #1B1C33
split-complementary
#331B28 #1C331B #1B3332
monochromatic
#140B10 #140B10 #331B28 #5B3047 #834567

Accessibility & contrast

On white

15.81
#331B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331B28
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B28#FFFFFF#000000##FFFFFF
##331B281.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331b28;
/* rgb */ color: rgb(51, 27, 40);
/* oklch */ color: oklch(26.0% 0.043 346.8);
Tailwind
colors: {
  custom: {
    50: '#6b5861',
    500: '#331b28',
    950: '#000000',
  },
}
SCSS
$custom: #331b28;
$custom-light: #6b5861;
$custom-dark: #000000;
JSON
{
  "hex": "#331b28",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 40
  },
  "hsl": {
    "h": 327.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25969,
    "c": 0.04309,
    "h": 346.8
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#331B28
secondary
#436753
accent
#C79061
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070305
muted
#7A7879

Preview Lab

Preview with #331B28

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

Preview Lab → · Contrast checker → · Palette generator →

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