#331F2C#331F2C

#331F2C is a dark, muted pink. Relative luminance 0.019; OKLCH L 27.0% C 0.038 H 340.7°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#331F2C
RGBrgb(51, 31, 44)
HSLhsl(321, 24%, 16%)
HSVhsv(321, 39%, 20%)
CMYKcmyk(0%, 39.2%, 13.7%, 80%)
CIE-LABlab(14.77, 12.21, -4.70)
CIE-LCHlch(14.77, 13.09, 338.95°)
OKLaboklab(27% 0.0356 -0.0125)
OKLCHoklch(27% 0.038 340.7)
XYZxyz(2.3098, 1.8657, 2.6208)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F2C #1F3326
analogous
#301F33 #331F2C #331F22
triadic
#331F2C #2C331F #1F2C33
tetradic
#331F2C #33301F #1F3326 #1F2233
square
#331F2C #33301F #1F3326 #1F2233
split-complementary
#331F2C #22331F #1F3330
monochromatic
#130C10 #130C10 #331F2C #59364D #7F4D6E

Accessibility & contrast

On white

15.29
#331F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331F2C
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F2C#FFFFFF#000000##FFFFFF
##331F2C1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232C
Deuteranopia (green-blind)
#25262B
Tritanopia (blue-blind)
#351F24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #331f2c;
/* rgb */ color: rgb(51, 31, 44);
/* oklch */ color: oklch(27.0% 0.038 340.7);
Tailwind
colors: {
  custom: {
    50: '#6b5b65',
    500: '#331f2c',
    950: '#000000',
  },
}
SCSS
$custom: #331f2c;
$custom-light: #6b5b65;
$custom-dark: #000000;
JSON
{
  "hex": "#331f2c",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 321,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27002,
    "c": 0.03771,
    "h": 340.7
  },
  "luminance": 0.01866
}

Semantic roles & 50–950 ramp

primary
#331F2C
secondary
#486652
accent
#C18667
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060405
muted
#7A797A

Preview Lab

Preview with #331F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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