#331B2C#331B2C

#331B2C is a dark, muted pink. Relative luminance 0.017; OKLCH L 26.2% C 0.047 H 338.6°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#331B2C
RGBrgb(51, 27, 44)
HSLhsl(318, 31%, 15%)
HSVhsv(318, 47%, 20%)
CMYKcmyk(0%, 47.1%, 13.7%, 80%)
CIE-LABlab(13.65, 14.96, -6.39)
CIE-LCHlch(13.65, 16.26, 336.87°)
OKLaboklab(26.15% 0.0435 -0.0171)
OKLCHoklch(26.15% 0.047 338.6)
XYZxyz(2.2118, 1.6696, 2.5882)
Luminance0.0167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B2C #1B3322
analogous
#2E1B33 #331B2C #331B20
triadic
#331B2C #2C331B #1B2C33
tetradic
#331B2C #332E1B #1B3322 #1B2033
square
#331B2C #332E1B #1B3322 #1B2033
split-complementary
#331B2C #20331B #1B332E
monochromatic
#140B11 #140B11 #331B2C #5B304F #834571

Accessibility & contrast

On white

15.74
#331B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331B2C
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B2C#FFFFFF#000000##FFFFFF
##331B2C1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C212D
Deuteranopia (green-blind)
#22242B
Tritanopia (blue-blind)
#351C21
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331b2c;
/* rgb */ color: rgb(51, 27, 44);
/* oklch */ color: oklch(26.2% 0.047 338.6);
Tailwind
colors: {
  custom: {
    50: '#6b5865',
    500: '#331b2c',
    950: '#000000',
  },
}
SCSS
$custom: #331b2c;
$custom-light: #6b5865;
$custom-dark: #000000;
JSON
{
  "hex": "#331b2c",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 44
  },
  "hsl": {
    "h": 317.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26154,
    "c": 0.04675,
    "h": 338.6
  },
  "luminance": 0.0167
}

Semantic roles & 50–950 ramp

primary
#331B2C
secondary
#43674D
accent
#C77F61
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#070305
muted
#7A787A

Preview Lab

Preview with #331B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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