#331E2C#331E2C

#331E2C is a dark, muted pink. Relative luminance 0.018; OKLCH L 26.8% C 0.040 H 340.1°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#331E2C
RGBrgb(51, 30, 44)
HSLhsl(320, 26%, 16%)
HSVhsv(320, 41%, 20%)
CMYKcmyk(0%, 41.2%, 13.7%, 80%)
CIE-LABlab(14.48, 12.90, -5.13)
CIE-LCHlch(14.48, 13.89, 338.32°)
OKLaboklab(26.78% 0.0376 -0.0136)
OKLCHoklch(26.78% 0.04 340.1)
XYZxyz(2.2841, 1.8143, 2.6123)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331E2C #1E3325
analogous
#2F1E33 #331E2C #331E21
triadic
#331E2C #2C331E #1E2C33
tetradic
#331E2C #332F1E #1E3325 #1E2133
square
#331E2C #332F1E #1E3325 #1E2133
split-complementary
#331E2C #21331E #1E332F
monochromatic
#130B11 #130B11 #331E2C #5A354D #804B6E

Accessibility & contrast

On white

15.41
#331E2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#331E2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331E2C
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331E2C#FFFFFF#000000##FFFFFF
##331E2C1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232D
Deuteranopia (green-blind)
#24262B
Tritanopia (blue-blind)
#351E23
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #331e2c;
/* rgb */ color: rgb(51, 30, 44);
/* oklch */ color: oklch(26.8% 0.040 340.1);
Tailwind
colors: {
  custom: {
    50: '#6b5a65',
    500: '#331e2c',
    950: '#000000',
  },
}
SCSS
$custom: #331e2c;
$custom-light: #6b5a65;
$custom-dark: #000000;
JSON
{
  "hex": "#331e2c",
  "rgb": {
    "r": 51,
    "g": 30,
    "b": 44
  },
  "hsl": {
    "h": 320,
    "s": 25.926,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26785,
    "c": 0.03998,
    "h": 340.1
  },
  "luminance": 0.01814
}

Semantic roles & 50–950 ramp

primary
#331E2C
secondary
#476651
accent
#C28465
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060305
muted
#7A787A

Preview Lab

Preview with #331E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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