#331F2D#331F2D

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

Color values

HEX#331F2D
RGBrgb(51, 31, 45)
HSLhsl(318, 24%, 16%)
HSVhsv(318, 39%, 20%)
CMYKcmyk(0%, 39.2%, 11.8%, 80%)
CIE-LABlab(14.81, 12.43, -5.35)
CIE-LCHlch(14.81, 13.53, 336.69°)
OKLaboklab(27.05% 0.036 -0.0143)
OKLCHoklch(27.05% 0.039 338.4)
XYZxyz(2.3289, 1.8734, 2.7210)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F2D #1F3325
analogous
#2F1F33 #331F2D #331F23
triadic
#331F2D #2D331F #1F2D33
tetradic
#331F2D #332F1F #1F3325 #1F2333
square
#331F2D #332F1F #1F3325 #1F2333
split-complementary
#331F2D #23331F #1F332F
monochromatic
#130C11 #130C11 #331F2D #59364F #7F4D70

Accessibility & contrast

On white

15.28
#331F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331F2D
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F2D#FFFFFF#000000##FFFFFF
##331F2D1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331f2d;
/* rgb */ color: rgb(51, 31, 45);
/* oklch */ color: oklch(27.0% 0.039 338.4);
Tailwind
colors: {
  custom: {
    50: '#6b5b65',
    500: '#331f2d',
    950: '#000000',
  },
}
SCSS
$custom: #331f2d;
$custom-light: #6b5b65;
$custom-dark: #000000;
JSON
{
  "hex": "#331f2d",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 318,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27048,
    "c": 0.03871,
    "h": 338.4
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#331F2D
secondary
#486651
accent
#C18267
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060405
muted
#7A797A

Preview Lab

Preview with #331F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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