#331A2B#331A2B

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

Color values

HEX#331A2B
RGBrgb(51, 26, 43)
HSLhsl(319, 32%, 15%)
HSVhsv(319, 49%, 20%)
CMYKcmyk(0%, 49%, 15.7%, 80%)
CIE-LABlab(13.33, 15.42, -6.14)
CIE-LCHlch(13.33, 16.60, 338.29°)
OKLaboklab(25.9% 0.0451 -0.0164)
OKLCHoklch(25.9% 0.048 340.1)
XYZxyz(2.1707, 1.6171, 2.4828)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A2B #1A3322
analogous
#2E1A33 #331A2B #331A1E
triadic
#331A2B #2B331A #1A2B33
tetradic
#331A2B #332E1A #1A3322 #1A1E33
square
#331A2B #332E1A #1A3322 #1A1E33
split-complementary
#331A2B #1E331A #1A332E
monochromatic
#140A11 #140A11 #331A2B #5C2F4D #84436F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##331A2B#FFFFFF#000000##FFFFFF
##331A2B1.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)
#1B202C
Deuteranopia (green-blind)
#21242A
Tritanopia (blue-blind)
#361A20
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331a2b;
/* rgb */ color: rgb(51, 26, 43);
/* oklch */ color: oklch(25.9% 0.048 340.1);
Tailwind
colors: {
  custom: {
    50: '#6b5764',
    500: '#331a2b',
    950: '#000000',
  },
}
SCSS
$custom: #331a2b;
$custom-light: #6b5764;
$custom-dark: #000000;
JSON
{
  "hex": "#331a2b",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 43
  },
  "hsl": {
    "h": 319.2,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25902,
    "c": 0.04799,
    "h": 340.1
  },
  "luminance": 0.01617
}

Semantic roles & 50–950 ramp

primary
#331A2B
secondary
#41684D
accent
#C9815F
background
#F6F5F5
surface
#EBE9EA
border
#C6C5C6
text
#070305
muted
#7A7879

Preview Lab

Preview with #331A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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