#331F2A#331F2A

#331F2A is a dark, muted pink. Relative luminance 0.019; OKLCH L 26.9% C 0.036 H 345.7°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#331F2A
RGBrgb(51, 31, 42)
HSLhsl(327, 24%, 16%)
HSVhsv(327, 39%, 20%)
CMYKcmyk(0%, 39.2%, 17.6%, 80%)
CIE-LABlab(14.69, 11.79, -3.38)
CIE-LCHlch(14.69, 12.27, 343.99°)
OKLaboklab(26.91% 0.0348 -0.0089)
OKLCHoklch(26.91% 0.036 345.7)
XYZxyz(2.2732, 1.8511, 2.4276)
Luminance0.0185 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F2A #1F3328
analogous
#321F33 #331F2A #331F20
triadic
#331F2A #2A331F #1F2A33
tetradic
#331F2A #33321F #1F3328 #1F2033
square
#331F2A #33321F #1F3328 #1F2033
split-complementary
#331F2A #20331F #1F3332
monochromatic
#130C10 #130C10 #331F2A #593649 #7F4D69

Accessibility & contrast

On white

15.33
#331F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331F2A
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F2A#FFFFFF#000000##FFFFFF
##331F2A1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232A
Deuteranopia (green-blind)
#252629
Tritanopia (blue-blind)
#361F23
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #331f2a;
/* rgb */ color: rgb(51, 31, 42);
/* oklch */ color: oklch(26.9% 0.036 345.7);
Tailwind
colors: {
  custom: {
    50: '#6b5b63',
    500: '#331f2a',
    950: '#000000',
  },
}
SCSS
$custom: #331f2a;
$custom-light: #6b5b63;
$custom-dark: #000000;
JSON
{
  "hex": "#331f2a",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 327,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26914,
    "c": 0.03587,
    "h": 345.7
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#331F2A
secondary
#486655
accent
#C18F67
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#060405
muted
#7A7979

Preview Lab

Preview with #331F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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