#331B2E#331B2E

#331B2E is a dark, muted pink. Relative luminance 0.017; OKLCH L 26.3% C 0.049 H 334.9°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#331B2E
RGBrgb(51, 27, 46)
HSLhsl(313, 31%, 15%)
HSVhsv(313, 47%, 20%)
CMYKcmyk(0%, 47.1%, 9.8%, 80%)
CIE-LABlab(13.74, 15.38, -7.69)
CIE-LCHlch(13.74, 17.20, 333.43°)
OKLaboklab(26.25% 0.0442 -0.0207)
OKLCHoklch(26.25% 0.049 334.9)
XYZxyz(2.2503, 1.6851, 2.7910)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B2E #1B3320
analogous
#2C1B33 #331B2E #331B22
triadic
#331B2E #2E331B #1B2E33
tetradic
#331B2E #332C1B #1B3320 #1B2233
square
#331B2E #332C1B #1B3320 #1B2233
split-complementary
#331B2E #22331B #1B332C
monochromatic
#140B12 #140B12 #331B2E #5B3052 #834576

Accessibility & contrast

On white

15.71
#331B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#331B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331B2E
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B2E#FFFFFF#000000##FFFFFF
##331B2E1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B212F
Deuteranopia (green-blind)
#21242D
Tritanopia (blue-blind)
#351C22
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331b2e;
/* rgb */ color: rgb(51, 27, 46);
/* oklch */ color: oklch(26.3% 0.049 334.9);
Tailwind
colors: {
  custom: {
    50: '#6b5866',
    500: '#331b2e',
    950: '#000000',
  },
}
SCSS
$custom: #331b2e;
$custom-light: #6b5866;
$custom-dark: #000000;
JSON
{
  "hex": "#331b2e",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 312.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26252,
    "c": 0.04883,
    "h": 334.9
  },
  "luminance": 0.01685
}

Semantic roles & 50–950 ramp

primary
#331B2E
secondary
#43674A
accent
#C77661
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#070306
muted
#7A787A

Preview Lab

Preview with #331B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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