#331B27#331B27

#331B27 is a dark, muted pink. Relative luminance 0.016; OKLCH L 25.9% C 0.042 H 349.1°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#331B27
RGBrgb(51, 27, 39)
HSLhsl(330, 31%, 15%)
HSVhsv(330, 47%, 20%)
CMYKcmyk(0%, 47.1%, 23.5%, 80%)
CIE-LABlab(13.44, 13.94, -3.07)
CIE-LCHlch(13.44, 14.27, 347.56°)
OKLaboklab(25.92% 0.0415 -0.008)
OKLCHoklch(25.92% 0.042 349.1)
XYZxyz(2.1234, 1.6343, 2.1227)
Luminance0.0163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331B27 #1B3327
analogous
#331B33 #331B27 #331B1B
triadic
#331B27 #27331B #1B2733
tetradic
#331B27 #33331B #1B3327 #1B1B33
square
#331B27 #33331B #1B3327 #1B1B33
split-complementary
#331B27 #1B331B #1B3333
monochromatic
#140B0F #140B0F #331B27 #5B3046 #834564

Accessibility & contrast

On white

15.83
#331B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#331B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331B27
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331B27#FFFFFF#000000##FFFFFF
##331B271.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331b27;
/* rgb */ color: rgb(51, 27, 39);
/* oklch */ color: oklch(25.9% 0.042 349.1);
Tailwind
colors: {
  custom: {
    50: '#6b5861',
    500: '#331b27',
    950: '#000000',
  },
}
SCSS
$custom: #331b27;
$custom-light: #6b5861;
$custom-dark: #000000;
JSON
{
  "hex": "#331b27",
  "rgb": {
    "r": 51,
    "g": 27,
    "b": 39
  },
  "hsl": {
    "h": 330,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25925,
    "c": 0.04231,
    "h": 349.1
  },
  "luminance": 0.01634
}

Semantic roles & 50–950 ramp

primary
#331B27
secondary
#436755
accent
#C79461
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070305
muted
#7A7879

Preview Lab

Preview with #331B27

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

Preview Lab → · Contrast checker → · Palette generator →

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