#331A2E#331A2E

#331A2E is a dark, muted pink. Relative luminance 0.016; OKLCH L 26.1% C 0.051 H 334.7°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#331A2E
RGBrgb(51, 26, 46)
HSLhsl(312, 32%, 15%)
HSVhsv(312, 49%, 20%)
CMYKcmyk(0%, 49%, 9.8%, 80%)
CIE-LABlab(13.47, 16.06, -8.10)
CIE-LCHlch(13.47, 17.99, 333.23°)
OKLaboklab(26.05% 0.0462 -0.0218)
OKLCHoklch(26.05% 0.051 334.7)
XYZxyz(2.2278, 1.6400, 2.7834)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A2E #1A331F
analogous
#2B1A33 #331A2E #331A21
triadic
#331A2E #2E331A #1A2E33
tetradic
#331A2E #332B1A #1A331F #1A2133
square
#331A2E #332B1A #1A331F #1A2133
split-complementary
#331A2E #21331A #1A332B
monochromatic
#140A12 #140A12 #331A2E #5C2F53 #844377

Accessibility & contrast

On white

15.81
#331A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331A2E
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A2E#FFFFFF#000000##FFFFFF
##331A2E1.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A202F
Deuteranopia (green-blind)
#20242D
Tritanopia (blue-blind)
#351B22
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331a2e;
/* rgb */ color: rgb(51, 26, 46);
/* oklch */ color: oklch(26.1% 0.051 334.7);
Tailwind
colors: {
  custom: {
    50: '#6b5766',
    500: '#331a2e',
    950: '#000000',
  },
}
SCSS
$custom: #331a2e;
$custom-light: #6b5766;
$custom-dark: #000000;
JSON
{
  "hex": "#331a2e",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 312,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26051,
    "c": 0.05106,
    "h": 334.7
  },
  "luminance": 0.0164
}

Semantic roles & 50–950 ramp

primary
#331A2E
secondary
#416849
accent
#C9745F
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#070306
muted
#7A787A

Preview Lab

Preview with #331A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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