#331A2D#331A2D

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

Color values

HEX#331A2D
RGBrgb(51, 26, 45)
HSLhsl(314, 32%, 15%)
HSVhsv(314, 49%, 20%)
CMYKcmyk(0%, 49%, 11.8%, 80%)
CIE-LABlab(13.43, 15.84, -7.45)
CIE-LCHlch(13.43, 17.51, 334.81°)
OKLaboklab(26% 0.0458 -0.02)
OKLCHoklch(26% 0.05 336.4)
XYZxyz(2.2083, 1.6322, 2.6808)
Luminance0.0163 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A2D #1A3320
analogous
#2C1A33 #331A2D #331A20
triadic
#331A2D #2D331A #1A2D33
tetradic
#331A2D #332C1A #1A3320 #1A2033
square
#331A2D #332C1A #1A3320 #1A2033
split-complementary
#331A2D #20331A #1A332C
monochromatic
#140A12 #140A12 #331A2D #5C2F51 #844375

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##331A2D#FFFFFF#000000##FFFFFF
##331A2D1.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)
#1A202E
Deuteranopia (green-blind)
#21242C
Tritanopia (blue-blind)
#351B21
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331a2d;
/* rgb */ color: rgb(51, 26, 45);
/* oklch */ color: oklch(26.0% 0.050 336.4);
Tailwind
colors: {
  custom: {
    50: '#6b5765',
    500: '#331a2d',
    950: '#000000',
  },
}
SCSS
$custom: #331a2d;
$custom-light: #6b5765;
$custom-dark: #000000;
JSON
{
  "hex": "#331a2d",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 45
  },
  "hsl": {
    "h": 314.4,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26,
    "c": 0.05001,
    "h": 336.4
  },
  "luminance": 0.01632
}

Semantic roles & 50–950 ramp

primary
#331A2D
secondary
#41684A
accent
#C9785F
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#070305
muted
#7A787A

Preview Lab

Preview with #331A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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