#331F26#331F26

#331F26 is a dark, muted pink. Relative luminance 0.018; OKLCH L 26.7% C 0.033 H 356.9°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#331F26
RGBrgb(51, 31, 38)
HSLhsl(339, 24%, 16%)
HSVhsv(339, 39%, 20%)
CMYKcmyk(0%, 39.2%, 25.5%, 80%)
CIE-LABlab(14.53, 10.99, -0.73)
CIE-LCHlch(14.53, 11.02, 356.22°)
OKLaboklab(26.75% 0.033 -0.0018)
OKLCHoklch(26.75% 0.033 356.9)
XYZxyz(2.2051, 1.8238, 2.0692)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F26 #1F332C
analogous
#331F30 #331F26 #33221F
triadic
#331F26 #26331F #1F2633
tetradic
#331F26 #30331F #1F332C #221F33
square
#331F26 #30331F #1F332C #221F33
split-complementary
#331F26 #1F3322 #1F3033
monochromatic
#130C0E #130C0E #331F26 #593642 #7F4D5F

Accessibility & contrast

On white

15.39
#331F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#331F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331F26
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F26#FFFFFF#000000##FFFFFF
##331F261.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212326
Deuteranopia (green-blind)
#262626
Tritanopia (blue-blind)
#361E21
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #331f26;
/* rgb */ color: rgb(51, 31, 38);
/* oklch */ color: oklch(26.7% 0.033 356.9);
Tailwind
colors: {
  custom: {
    50: '#6b5a60',
    500: '#331f26',
    950: '#000000',
  },
}
SCSS
$custom: #331f26;
$custom-light: #6b5a60;
$custom-dark: #000000;
JSON
{
  "hex": "#331f26",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 38
  },
  "hsl": {
    "h": 339,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26748,
    "c": 0.03303,
    "h": 356.9
  },
  "luminance": 0.01824
}

Semantic roles & 50–950 ramp

primary
#331F26
secondary
#48665B
accent
#C1A167
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060404
muted
#7A7979

Preview Lab

Preview with #331F26

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

Preview Lab → · Contrast checker → · Palette generator →

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