#331E2F#331E2F

#331E2F is a dark, muted pink. Relative luminance 0.018; OKLCH L 26.9% C 0.043 H 333.8°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#331E2F
RGBrgb(51, 30, 47)
HSLhsl(311, 26%, 16%)
HSVhsv(311, 41%, 20%)
CMYKcmyk(0%, 41.2%, 7.8%, 80%)
CIE-LABlab(14.61, 13.56, -7.09)
CIE-LCHlch(14.61, 15.30, 332.41°)
OKLaboklab(26.93% 0.0387 -0.019)
OKLCHoklch(26.93% 0.043 333.8)
XYZxyz(2.3426, 1.8377, 2.9201)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E2F #1E3322
analogous
#2C1E33 #331E2F #331E24
triadic
#331E2F #2F331E #1E2F33
tetradic
#331E2F #332C1E #1E3322 #1E2433
square
#331E2F #332C1E #1E3322 #1E2433
split-complementary
#331E2F #24331E #1E332C
monochromatic
#130B12 #130B12 #331E2F #5A3553 #804B76

Accessibility & contrast

On white

15.36
#331E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#331E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331E2F
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E2F#FFFFFF#000000##FFFFFF
##331E2F1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2330
Deuteranopia (green-blind)
#23262E
Tritanopia (blue-blind)
#351F24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #331e2f;
/* rgb */ color: rgb(51, 30, 47);
/* oklch */ color: oklch(26.9% 0.043 333.8);
Tailwind
colors: {
  custom: {
    50: '#6b5a67',
    500: '#331e2f',
    950: '#000000',
  },
}
SCSS
$custom: #331e2f;
$custom-light: #6b5a67;
$custom-dark: #000000;
JSON
{
  "hex": "#331e2f",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 311.429,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26927,
    "c": 0.04316,
    "h": 333.8
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#331E2F
secondary
#47664D
accent
#C27765
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #331E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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