#331F2E#331F2E

#331F2E is a dark, muted pink. Relative luminance 0.019; OKLCH L 27.1% C 0.040 H 336.2°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#331F2E
RGBrgb(51, 31, 46)
HSLhsl(315, 24%, 16%)
HSVhsv(315, 39%, 20%)
CMYKcmyk(0%, 39.2%, 9.8%, 80%)
CIE-LABlab(14.85, 12.65, -6.01)
CIE-LCHlch(14.85, 14.01, 334.60°)
OKLaboklab(27.09% 0.0364 -0.0161)
OKLCHoklch(27.09% 0.04 336.2)
XYZxyz(2.3484, 1.8811, 2.8236)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F2E #1F3324
analogous
#2E1F33 #331F2E #331F24
triadic
#331F2E #2E331F #1F2E33
tetradic
#331F2E #332E1F #1F3324 #1F2433
square
#331F2E #332E1F #1F3324 #1F2433
split-complementary
#331F2E #24331F #1F332E
monochromatic
#130C11 #130C11 #331F2E #593650 #7F4D73

Accessibility & contrast

On white

15.26
#331F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#331F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331F2E
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F2E#FFFFFF#000000##FFFFFF
##331F2E1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F242F
Deuteranopia (green-blind)
#24262D
Tritanopia (blue-blind)
#352024
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #331f2e;
/* rgb */ color: rgb(51, 31, 46);
/* oklch */ color: oklch(27.1% 0.040 336.2);
Tailwind
colors: {
  custom: {
    50: '#6b5b66',
    500: '#331f2e',
    950: '#000000',
  },
}
SCSS
$custom: #331f2e;
$custom-light: #6b5b66;
$custom-dark: #000000;
JSON
{
  "hex": "#331f2e",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 315,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27094,
    "c": 0.03977,
    "h": 336.2
  },
  "luminance": 0.01881
}

Semantic roles & 50–950 ramp

primary
#331F2E
secondary
#48664F
accent
#C17D67
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #331F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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