#331B24#331B24

#331B24 is a dark, muted pink. Relative luminance 0.016; OKLCH L 25.8% C 0.040 H 356.3°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#331B24
RGBrgb(51, 27, 36)
HSLhsl(338, 31%, 15%)
HSVhsv(338, 47%, 20%)
CMYKcmyk(0%, 47.1%, 29.4%, 80%)
CIE-LABlab(13.32, 13.37, -1.06)
CIE-LCHlch(13.32, 13.41, 355.48°)
OKLaboklab(25.8% 0.0403 -0.0026)
OKLCHoklch(25.8% 0.04 356.3)
XYZxyz(2.0757, 1.6152, 1.8712)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B24 #1B332A
analogous
#331B30 #331B24 #331E1B
triadic
#331B24 #24331B #1B2433
tetradic
#331B24 #30331B #1B332A #1E1B33
square
#331B24 #30331B #1B332A #1E1B33
split-complementary
#331B24 #1B331E #1B3033
monochromatic
#140B0E #140B0E #331B24 #5B3040 #83455C

Accessibility & contrast

On white

15.87
#331B24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#331B24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331B24
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B24#FFFFFF#000000##FFFFFF
##331B241.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2024
Deuteranopia (green-blind)
#242423
Tritanopia (blue-blind)
#371A1E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331b24;
/* rgb */ color: rgb(51, 27, 36);
/* oklch */ color: oklch(25.8% 0.040 356.3);
Tailwind
colors: {
  custom: {
    50: '#6b575e',
    500: '#331b24',
    950: '#000000',
  },
}
SCSS
$custom: #331b24;
$custom-light: #6b575e;
$custom-dark: #000000;
JSON
{
  "hex": "#331b24",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 36
  },
  "hsl": {
    "h": 337.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.258,
    "c": 0.04033,
    "h": 356.3
  },
  "luminance": 0.01615
}

Semantic roles & 50–950 ramp

primary
#331B24
secondary
#436759
accent
#C7A161
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331B24

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

Preview Lab → · Contrast checker → · Palette generator →

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