#331B2D#331B2D

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

Color values

HEX#331B2D
RGBrgb(51, 27, 45)
HSLhsl(315, 31%, 15%)
HSVhsv(315, 47%, 20%)
CMYKcmyk(0%, 47.1%, 11.8%, 80%)
CIE-LABlab(13.69, 15.17, -7.04)
CIE-LCHlch(13.69, 16.72, 335.09°)
OKLaboklab(26.2% 0.0439 -0.0189)
OKLCHoklch(26.2% 0.048 336.7)
XYZxyz(2.2308, 1.6773, 2.6884)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B2D #1B3321
analogous
#2D1B33 #331B2D #331B21
triadic
#331B2D #2D331B #1B2D33
tetradic
#331B2D #332D1B #1B3321 #1B2133
square
#331B2D #332D1B #1B3321 #1B2133
split-complementary
#331B2D #21331B #1B332D
monochromatic
#140B12 #140B12 #331B2D #5B3050 #834574

Accessibility & contrast

On white

15.73
#331B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331B2D
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B2D#FFFFFF#000000##FFFFFF
##331B2D1.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B212E
Deuteranopia (green-blind)
#22242C
Tritanopia (blue-blind)
#351C22
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331b2d;
/* rgb */ color: rgb(51, 27, 45);
/* oklch */ color: oklch(26.2% 0.048 336.7);
Tailwind
colors: {
  custom: {
    50: '#6b5865',
    500: '#331b2d',
    950: '#000000',
  },
}
SCSS
$custom: #331b2d;
$custom-light: #6b5865;
$custom-dark: #000000;
JSON
{
  "hex": "#331b2d",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 315,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26203,
    "c": 0.04777,
    "h": 336.7
  },
  "luminance": 0.01677
}

Semantic roles & 50–950 ramp

primary
#331B2D
secondary
#43674C
accent
#C77A61
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#070305
muted
#7A787A

Preview Lab

Preview with #331B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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