#331F2B#331F2B

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

Color values

HEX#331F2B
RGBrgb(51, 31, 43)
HSLhsl(324, 24%, 16%)
HSVhsv(324, 39%, 20%)
CMYKcmyk(0%, 39.2%, 15.7%, 80%)
CIE-LABlab(14.73, 12.00, -4.04)
CIE-LCHlch(14.73, 12.67, 341.38°)
OKLaboklab(26.96% 0.0352 -0.0107)
OKLCHoklch(26.96% 0.037 343.1)
XYZxyz(2.2913, 1.8583, 2.5230)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F2B #1F3327
analogous
#311F33 #331F2B #331F21
triadic
#331F2B #2B331F #1F2B33
tetradic
#331F2B #33311F #1F3327 #1F2133
square
#331F2B #33311F #1F3327 #1F2133
split-complementary
#331F2B #21331F #1F3331
monochromatic
#130C10 #130C10 #331F2B #59364B #7F4D6B

Accessibility & contrast

On white

15.31
#331F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331F2B
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F2B#FFFFFF#000000##FFFFFF
##331F2B1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331f2b;
/* rgb */ color: rgb(51, 31, 43);
/* oklch */ color: oklch(27.0% 0.037 343.1);
Tailwind
colors: {
  custom: {
    50: '#6b5b64',
    500: '#331f2b',
    950: '#000000',
  },
}
SCSS
$custom: #331f2b;
$custom-light: #6b5b64;
$custom-dark: #000000;
JSON
{
  "hex": "#331f2b",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 324,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26957,
    "c": 0.03677,
    "h": 343.1
  },
  "luminance": 0.01858
}

Semantic roles & 50–950 ramp

primary
#331F2B
secondary
#486654
accent
#C18B67
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#060405
muted
#7A7979

Preview Lab

Preview with #331F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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