#331A23#331A23

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

Color values

HEX#331A23
RGBrgb(51, 26, 35)
HSLhsl(338, 32%, 15%)
HSVhsv(338, 49%, 20%)
CMYKcmyk(0%, 49%, 31.4%, 80%)
CIE-LABlab(13.01, 13.87, -0.78)
CIE-LCHlch(13.01, 13.89, 356.77°)
OKLaboklab(25.55% 0.0418 -0.0019)
OKLCHoklch(25.55% 0.042 357.4)
XYZxyz(2.0381, 1.5641, 1.7843)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331A23 #1A332A
analogous
#331A30 #331A23 #331D1A
triadic
#331A23 #23331A #1A2333
tetradic
#331A23 #30331A #1A332A #1D1A33
square
#331A23 #30331A #1A332A #1D1A33
split-complementary
#331A23 #1A331D #1A3033
monochromatic
#140A0E #140A0E #331A23 #5C2F3F #84435B

Accessibility & contrast

On white

16.00
#331A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#331A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331A23
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331A23#FFFFFF#000000##FFFFFF
##331A231.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1F23
Deuteranopia (green-blind)
#232322
Tritanopia (blue-blind)
#37191D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #331a23;
/* rgb */ color: rgb(51, 26, 35);
/* oklch */ color: oklch(25.6% 0.042 357.4);
Tailwind
colors: {
  custom: {
    50: '#6b575d',
    500: '#331a23',
    950: '#000000',
  },
}
SCSS
$custom: #331a23;
$custom-light: #6b575d;
$custom-dark: #000000;
JSON
{
  "hex": "#331a23",
  "rgb": {
    "r": 51,
    "g": 26,
    "b": 35
  },
  "hsl": {
    "h": 338.4,
    "s": 32.468,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2555,
    "c": 0.04187,
    "h": 357.4
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#331A23
secondary
#41685A
accent
#C9A35F
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331A23

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

Preview Lab → · Contrast checker → · Palette generator →

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