#331F29#331F29

#331F29 is a dark, muted pink. Relative luminance 0.018; OKLCH L 26.9% C 0.035 H 348.3°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#331F29
RGBrgb(51, 31, 41)
HSLhsl(330, 24%, 16%)
HSVhsv(330, 39%, 20%)
CMYKcmyk(0%, 39.2%, 19.6%, 80%)
CIE-LABlab(14.65, 11.59, -2.72)
CIE-LCHlch(14.65, 11.90, 346.77°)
OKLaboklab(26.87% 0.0343 -0.0071)
OKLCHoklch(26.87% 0.035 348.3)
XYZxyz(2.2555, 1.8440, 2.3345)
Luminance0.0184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F29 #1F3329
analogous
#331F33 #331F29 #331F1F
triadic
#331F29 #29331F #1F2933
tetradic
#331F29 #33331F #1F3329 #1F1F33
square
#331F29 #33331F #1F3329 #1F1F33
split-complementary
#331F29 #1F331F #1F3333
monochromatic
#130C0F #130C0F #331F29 #593648 #7F4D66

Accessibility & contrast

On white

15.34
#331F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331F29
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F29#FFFFFF#000000##FFFFFF
##331F291.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212329
Deuteranopia (green-blind)
#252628
Tritanopia (blue-blind)
#361F22
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #331f29;
/* rgb */ color: rgb(51, 31, 41);
/* oklch */ color: oklch(26.9% 0.035 348.3);
Tailwind
colors: {
  custom: {
    50: '#6b5b62',
    500: '#331f29',
    950: '#000000',
  },
}
SCSS
$custom: #331f29;
$custom-light: #6b5b62;
$custom-dark: #000000;
JSON
{
  "hex": "#331f29",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 41
  },
  "hsl": {
    "h": 330,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26871,
    "c": 0.03505,
    "h": 348.3
  },
  "luminance": 0.01844
}

Semantic roles & 50–950 ramp

primary
#331F29
secondary
#486657
accent
#C19467
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#060405
muted
#7A7979

Preview Lab

Preview with #331F29

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

Preview Lab → · Contrast checker → · Palette generator →

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