#331B25#331B25

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

Color values

HEX#331B25
RGBrgb(51, 27, 37)
HSLhsl(335, 31%, 15%)
HSVhsv(335, 47%, 20%)
CMYKcmyk(0%, 47.1%, 27.5%, 80%)
CIE-LABlab(13.36, 13.55, -1.73)
CIE-LCHlch(13.36, 13.66, 352.72°)
OKLaboklab(25.84% 0.0407 -0.0044)
OKLCHoklch(25.84% 0.041 353.8)
XYZxyz(2.0911, 1.6214, 1.9527)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B25 #1B3329
analogous
#331B31 #331B25 #331D1B
triadic
#331B25 #25331B #1B2533
tetradic
#331B25 #31331B #1B3329 #1D1B33
square
#331B25 #31331B #1B3329 #1D1B33
split-complementary
#331B25 #1B331D #1B3133
monochromatic
#140B0F #140B0F #331B25 #5B3042 #83455F

Accessibility & contrast

On white

15.86
#331B25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331B25
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B25#FFFFFF#000000##FFFFFF
##331B251.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2025
Deuteranopia (green-blind)
#242424
Tritanopia (blue-blind)
#361A1F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331b25;
/* rgb */ color: rgb(51, 27, 37);
/* oklch */ color: oklch(25.8% 0.041 353.8);
Tailwind
colors: {
  custom: {
    50: '#6b575f',
    500: '#331b25',
    950: '#000000',
  },
}
SCSS
$custom: #331b25;
$custom-light: #6b575f;
$custom-dark: #000000;
JSON
{
  "hex": "#331b25",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 37
  },
  "hsl": {
    "h": 335,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2584,
    "c": 0.04093,
    "h": 353.8
  },
  "luminance": 0.01621
}

Semantic roles & 50–950 ramp

primary
#331B25
secondary
#436758
accent
#C79C61
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331B25

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

Preview Lab → · Contrast checker → · Palette generator →

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