#331C23#331C23

#331C23 is a dark, muted pink. Relative luminance 0.017; OKLCH L 26.0% C 0.038 H 0.4°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#331C23
RGBrgb(51, 28, 35)
HSLhsl(342, 29%, 15%)
HSVhsv(342, 45%, 20%)
CMYKcmyk(0%, 45.1%, 31.4%, 80%)
CIE-LABlab(13.57, 12.50, 0.03)
CIE-LCHlch(13.57, 12.50, 0.14°)
OKLaboklab(25.97% 0.0377 0.0003)
OKLCHoklch(25.97% 0.038 0.4)
XYZxyz(2.0839, 1.6558, 1.7996)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331C23 #1C332C
analogous
#331C2E #331C23 #33201C
triadic
#331C23 #23331C #1C2333
tetradic
#331C23 #2E331C #1C332C #201C33
square
#331C23 #2E331C #1C332C #201C33
split-complementary
#331C23 #1C3320 #1C2E33
monochromatic
#140B0E #140B0E #331C23 #5B323E #824759

Accessibility & contrast

On white

15.78
#331C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331C23
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331C23#FFFFFF#000000##FFFFFF
##331C231.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2023
Deuteranopia (green-blind)
#252422
Tritanopia (blue-blind)
#371B1E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #331c23;
/* rgb */ color: rgb(51, 28, 35);
/* oklch */ color: oklch(26.0% 0.038 0.4);
Tailwind
colors: {
  custom: {
    50: '#6b585d',
    500: '#331c23',
    950: '#000000',
  },
}
SCSS
$custom: #331c23;
$custom-light: #6b585d;
$custom-dark: #000000;
JSON
{
  "hex": "#331c23",
  "rgb": {
    "r": 51,
    "g": 28,
    "b": 35
  },
  "hsl": {
    "h": 341.739,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25973,
    "c": 0.03774,
    "h": 0.4
  },
  "luminance": 0.01656
}

Semantic roles & 50–950 ramp

primary
#331C23
secondary
#44675C
accent
#C5A762
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070304
muted
#7A7879

Preview Lab

Preview with #331C23

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

Preview Lab → · Contrast checker → · Palette generator →

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