#4C162F#4C162F

#4C162F is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.6% C 0.086 H 355.0°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#4C162F
RGBrgb(76, 22, 47)
HSLhsl(332, 55%, 19%)
HSVhsv(332, 71%, 30%)
CMYKcmyk(0%, 71.1%, 38.2%, 70.2%)
CIE-LABlab(17.07, 28.16, -2.97)
CIE-LCHlch(17.07, 28.31, 353.98°)
OKLaboklab(29.64% 0.086 -0.0075)
OKLCHoklch(29.64% 0.086 355)
XYZxyz(3.7807, 2.3160, 2.9367)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C162F #164C33
analogous
#4C164A #4C162F #4C1816
triadic
#4C162F #2F4C16 #162F4C
tetradic
#4C162F #4A4C16 #164C33 #18164C
square
#4C162F #4A4C16 #164C33 #18164C
split-complementary
#4C162F #164C18 #164A4C
monochromatic
#18070F #1D0812 #4C162F #7B244C #AB316A

Accessibility & contrast

On white

14.35
#4C162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4C162F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C162F
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C162F#FFFFFF#000000##FFFFFF
##4C162F1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2430
Deuteranopia (green-blind)
#2E2E2E
Tritanopia (blue-blind)
#521220
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c162f;
/* rgb */ color: rgb(76, 22, 47);
/* oklch */ color: oklch(29.6% 0.086 355.0);
Tailwind
colors: {
  custom: {
    50: '#815767',
    500: '#4c162f',
    950: '#000000',
  },
}
SCSS
$custom: #4c162f;
$custom-light: #815767;
$custom-dark: #000000;
JSON
{
  "hex": "#4c162f",
  "rgb": {
    "r": 76,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 332.222,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29636,
    "c": 0.08632,
    "h": 355
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#4C162F
secondary
#3A8462
accent
#DE9949
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #4C162F

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

Preview Lab → · Contrast checker → · Palette generator →

#4C162F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva