#331B2B#331B2B

#331B2B is a dark, muted pink. Relative luminance 0.017; OKLCH L 26.1% C 0.046 H 340.5°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#331B2B
RGBrgb(51, 27, 43)
HSLhsl(320, 31%, 15%)
HSVhsv(320, 47%, 20%)
CMYKcmyk(0%, 47.1%, 15.7%, 80%)
CIE-LABlab(13.60, 14.74, -5.73)
CIE-LCHlch(13.60, 15.82, 338.76°)
OKLaboklab(26.11% 0.0432 -0.0152)
OKLCHoklch(26.11% 0.046 340.5)
XYZxyz(2.1932, 1.6622, 2.4903)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B2B #1B3323
analogous
#2F1B33 #331B2B #331B1F
triadic
#331B2B #2B331B #1B2B33
tetradic
#331B2B #332F1B #1B3323 #1B1F33
square
#331B2B #332F1B #1B3323 #1B1F33
split-complementary
#331B2B #1F331B #1B332F
monochromatic
#140B11 #140B11 #331B2B #5B304D #83456E

Accessibility & contrast

On white

15.76
#331B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331B2B
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B2B#FFFFFF#000000##FFFFFF
##331B2B1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C202C
Deuteranopia (green-blind)
#22242A
Tritanopia (blue-blind)
#361B21
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331b2b;
/* rgb */ color: rgb(51, 27, 43);
/* oklch */ color: oklch(26.1% 0.046 340.5);
Tailwind
colors: {
  custom: {
    50: '#6b5864',
    500: '#331b2b',
    950: '#000000',
  },
}
SCSS
$custom: #331b2b;
$custom-light: #6b5864;
$custom-dark: #000000;
JSON
{
  "hex": "#331b2b",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 43
  },
  "hsl": {
    "h": 320,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26106,
    "c": 0.04577,
    "h": 340.5
  },
  "luminance": 0.01662
}

Semantic roles & 50–950 ramp

primary
#331B2B
secondary
#43674F
accent
#C78361
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#070305
muted
#7A7879

Preview Lab

Preview with #331B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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